This is an odd one, I’m getting a compiler error with this material even though I know I’m certainly giving it the correct parameters…
The error I’m being given is that Input A must be of Type ‘Float’ - which it definitely is, since I’m masking it right beforehand!
The If Node:
Resume.txt (3.41 KB)
The Ray Intersect Function:
This is part of my ongoing attempt to bring in a seamless Ground > Space Rayleigh and Mie Scattering Shader, but I’m hitting hundreds of brick walls along the way, mainly with loops and suchlike.