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.

The URP Settings tab of the Asset Window with the fifteen Shader Feature Configuration toggles, Apply Changes and Reset to Defaults
  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 (leaves the #define out)

Hover over any feature name to see a detailed tooltip.

GPU Instancing Support ticked, with its tooltip: Enables GPU Instancing for better performance when rendering many identical objects

After adjusting your feature selection:

  1. Click Apply Changes to write the configuration to your shader files
  2. Unity will automatically recompile affected shaders

The configuration is stored in the asset’s folder. When you update by deleting that folder and importing the new version, tick your features again and press Apply Changes.

The Reset to Defaults button restores the shipped toggles. Press Apply Changes afterwards, it doesn’t write them by itself:

  • 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. It compiles the URP passes for shader target 4.5, which WebGL 2 can’t run: leave it off for WebGL builds.
  • 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 - Main light shadows on these materials.
  • 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.