Skip to content

URP Shader Feature Configuration

The URP Shader Feature Configuration panel optimizes shader compilation times and editor performance by letting you enable or disable individual shader features. Disable any features your project doesn’t use to significantly reduce build times. This tool is URP-specific and ships with nine of the fifteen features enabled. The six that are off by default are the specialised ones: Entities Graphics Instancing, Reflection Probes Blending, Light Layers, Decals, Light Cookies and LOD Cross Fade. If you need one of them, enable it and consider turning off something you are not using, to keep compile times down.

  1. Open the AllIn1 3D Shader Window via Tools → AllIn1 → 3D Shader Window
  2. Navigate to the URP Settings tab
  3. Scroll to the Shader Feature Configuration section

Each shader feature is represented by a toggle with a descriptive name. Simply check or uncheck features based on your project’s needs:

  • Checked = Feature enabled (adds #define to shader)
  • Unchecked = Feature disabled (comments out #define)

Hover over any feature name to see a detailed tooltip.

After adjusting your feature selection:

  1. Click Apply Changes to write the configuration to your shader files
  2. Unity will automatically recompile affected shaders
  3. Check the Console for confirmation: “Shader feature configuration applied successfully!”

The Reset to Defaults button restores the shipped configuration:

  • On: GPU Instancing, Fog, Lightmaps, Additional Lights, Cast Shadows, Shadow Mask, Forward+ (Unity 6+), Adaptative Probe Volumes (Unity 6+), Screen Space Ambient Occlusion
  • Off: Entities Graphics Instancing, Reflection Probes Blending (Unity 6+), Light Layers, Decals, Light Cookies, LOD Cross Fade

Fifteen features, named here exactly as the panel shows them.

  • GPU Instancing Support - Efficient rendering of many identical objects.
  • Entities Graphics Instancing Support (and GPU Resident Drawer) - Instancing for DOTS and ECS projects.
  • Fog Support - Unity’s built-in fog.
  • LOD Cross Fade - Interpolates between LOD levels instead of popping.
  • Lightmaps Support - Baked lighting from lightmaps.
  • Additional Lights Support - Real-time lights beyond the main directional one.
  • Cast Shadows Support - Lets materials cast shadows.
  • Shadow Mask Support - Mixed lighting with shadowmask baking.
  • Light Layers Support - Selective lighting through Unity’s light layers.
  • Light Cookies - Cookie textures on lights.
  • Forward+ Support (Unity 6+) - The Forward+ path, better with many lights.
  • Reflection Probes Blending Support (Unity 6+) - Blending between reflection probes.
  • Adaptative Probe Volumes (Unity 6+) - Automatically placed light probe groups.
  • Screen Space Ambient Occlusion - URP’s SSAO.
  • Decals Support - Lets materials receive decals from decal projectors. This is the toggle Decals asks you to turn on, and decals do not work without it.