-
Notifications
You must be signed in to change notification settings - Fork 80
Open
Description
Unity 6 has a new light probe system
https://docs.unity3d.com/6000.0/Documentation/Manual/urp/probevolumes-concept.html
ShaderLibrary code here suggests that the Baked GI node that URP provides should support APV, provided the graph defines the appropriate keywords. Lit Graphs should already include them (but for custom lighting you'd typically use an Unlit Graph)
For an Unlit Graph, should be able to use an Enum Keyword in the blackboard :
- Reference :
PROBE_VOLUMESand Entries :OFF,L1&L2 - Set to Global/IsOverridable and untick Exposed/GenerateMaterialProperty
Alternatively, could use a Custom Function with :
#pragma multi_compile _ PROBE_VOLUMES_L1 PROBE_VOLUMES_L2
or#include_with_pragmas "Packages/com.unity.render-pipelines.universal/ShaderLibrary/ProbeVolumeVariants.hlsl"
Those may also avoid shadergraph keyword limits.
Metadata
Metadata
Assignees
Labels
No labels