Please Read This
Please Read This

Please Read This

Render Pipeline Configuration

  • If you are using the URP or HDRP, you must add the “Stencil Lights and Shadows Renderer Feature” to your Render Asset Pipeline for Stencil Lights and Shadows to work. More information on
    Getting Started
    Getting Started
    .
  • Stencil Lights and Shadows features an automatic tool for checking the rendering pipeline being used and recompiling shaders accordingly. Please follow setup instructions when prompted or manually check the tool in “Tools > Stencil Lights and Shadows”.

Moving or Renaming Folders and Files

  • You can safely move the main asset folder (“StencilLightsAndShadows”).
  • Avoid renaming the main asset folder. If you must rename it, keep the substring “StencilLightsAndShadows” in the name.
  • You can safely delete, move or rename the “Examples” or “Documentation” folder or any of files or folders inside them. We suggest keeping the “Documentation” folder for future reference. You can always reimport Stencil Lights and Shadows to recover any files deleted.
  • You should NOT delete or rename any other folder or file. Stencil Lights and Shadows may not work properly if done so.
  • Manually editing files, including settings, inside asset folder can also break the Stencil Lights and Shadows. Please use the windows available in “Tools > Stencil Lights and Shadows” to change settings.

Customizing Shaders

  • Shaders (both main shaders and example shaders) are overwritten and re-compiled by our automatic tool depending on the render pipeline being used. Duplicate before editing them to avoid losing changes!

Examples

  • Learning and using assets from the Examples is recommended and encouraged!
  • Be careful when opening the examples inside the “Performance” category, especially the ones with high numbers (512 lights and up). They are resource intensive by design and may significantly slow down your computer.

Bugs and Issues

  • Non-commutative [NC] blend modes (only found in the advanced blend modes) are draw order dependent and can cause z-fighting. More information on
    Material Properties
    Material Properties
    .
  • There is a known bug with the Built-In render pipeline where stacking two meshes with the Stencil Lights and Shadows on the exact same position in the scene can cause incorrect rendering. A temporary fix is slightly moving one of the meshes so they do not share the same position. Read more in the known bugs and issues.
  • The “Difference” blend mode (in advanced blending) is slightly different from the standard “Difference” blend mode found in traditional image editing software. Read more about it in the advanced blend mode documentation.
  • Did you encounter any bugs or issues? Please follow the troubleshooting steps and contact support. More information on
    Support
    Support
    .