Seaside Studios
HomeOverviewFAQsContactReview
VFX Toolkit
VFX Toolkit
  • What is All In 1 VFX Toolkit
  • Overview
  • Setup and Render Pipelines
  • First Steps (Must Read)
  • Asset Component Features
  • Shader Structure and Usage
  • Advanced Configuration and Key Rendering Concepts
  • Particle System Helper Component
  • Asset Window
  • Textures Setup
  • Saving Prefabs
  • Screen Distortion and Creating Distortion Maps
  • Custom Vertex Streams and Custom Data Auto Setup
  • How to Animate Materials
  • Custom Scaled Time
  • Scripting
  • Visual Effect Graph (Vfx Graph)
  • How to Enable/Disable Effects at Runtime
  • Random Seed
  • Render Material To Image
  • Premade Textures, Meshes and Materials
  • Helper Scripts and Other Utilities
  • Lit Shader
  • Effects and Properties Breakdown
  • Custom Gradient Property Drawer
  • Running out of Shader Keywords
  • Considerations
  • FAQ (Frequently Asked Questions)
  • Credits
Powered by GitBook
On this page

Lit Shader

PreviousHelper Scripts and Other UtilitiesNextEffects and Properties Breakdown

Last updated 10 days ago

From version 2.0 onwards, the asset also includes a Lit Shader compatible with all 3D lights of all render pipelines. This shader will be automatically configured based on the Render Pipeline and Unity verison you are currently using.

If at some point you want to force this automatic setup process, in case you see some error, change pipeline or Unity version you can do so in the Other tab of the :

To use this shader you'll need to manually assign the shader in the Material Inspector, like so:

To see this shader in action you can checkout the DemoVfxToolkitLitShader scene included in the Demo folder of the asset.

This lit shader was created using Better Shaders, a Unity Asset by Jason Booth that simplifies cross-pipeline shader development. This Better Shaders file can be found over at:

AllIn1VfxToolkit\Shaders\LitShader\AllIn1VfxLit_BetterShader.surfshader

This is the Better shaders asset in case you want to check it out:

If you do own Better Shaders, you are free to open the source file and change whatever you want.

https://assetstore.unity.com/packages/tools/visual-scripting/better-shaders-2022-standard-urp-hdrp-244057?aid=1101l52IjU
Asset Window