Hi
within api 14.0.5 _Unity_Identify_HDRP_Decal works nice for custom decal shaders
[HideInInspector]_Unity_Identify_HDRP_Decal("_Unity_Identify_HDRP_Decal", Float) = 1.0
however, use this in api 15.0.3 2023.1.0b1 it produces rubbish runaway spamming errors.
it looks like they fixed this in api 14.0.5 2022.2.4 but never got around to fixing in 15x yet ?
this is important for any decal shaders to render / blend correctly.
as this was working in 14x should it be filed as a bug or is it just still in process of coming soon ?
Hi, this code with _Unity_Identify_HDRP_Decal haven’t change since 2 years, and is working with all recent version for our decal shader. Could you provide more info on the repro step of your issue? And what kind of error do you get? thanks
thank you for the reply
i will post the errors later today
i suspect the issue is within DecalSystem.cs
Note that this is only an issue when we make a Custom written shader not Unity.
when we use _Unity_Identify_HDRP_Decal it goes into a check with IsHDRenderPipelineDecal
as it’s a custom shader it spams the console with errors running away for missing m_material
Note also that the new options for AffectsTransparency is hard coded to return only with shader.name == “HDRP/Decal”
this also is a concern as we can never use it in any custom shaders