I have a custom SRP and am trying to find info on supporting light-probes.
Where in URP are light-probes handled in the shaders?
Old shaders seem to use the method “ShadeSH9” but whats the URP way I can model after for a SRP?
I have a custom SRP and am trying to find info on supporting light-probes.
Where in URP are light-probes handled in the shaders?
Old shaders seem to use the method “ShadeSH9” but whats the URP way I can model after for a SRP?
SampleSH9
For anyone else looking, I had to include Lighting.hlsl and use SampleSHVertex instead of ShadeSH9
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl"
and
SampleSHVertex(half3 normalWS)