I’m having trouble finding how Unity wants the Range parameter of its fixed-function fog formatted.
To clarify, I am looking for the Shader Lab syntax, as shown in my example snippets below.
I’ve tried things like:
Fog{Mode Linear Color[_FogColor] Range[0.0,1000.0]}
Fog{Mode Linear Color[_FogColor] Range(0.0,1000.0])}
Fog{Mode Linear Color[_FogColor] Range{0.0,1000.0}}
Fog{Mode Linear Color[_FogColor] Range 0.0,1000.0 }
This has been all to no avail and I can’t find any information anywhere via search engine.
I’m beginning to think this doesn’t actually exist/work at all.
Cheers
==
Thank you. It appears that if you wish to reference a property there the values must be encapsulated by []. Fog { Mode Linear Color[_FogColor] Range [_Min],[_Max]}
– equalsequals