Ray Marching Falloff expression ??


Hi everybody

I have just read the tutorial from the archives on Ray Marching, and I just wanted to ask a question about it if thats okay with everybody who posted to that subject.

Is there an expression I could write that will give a gradient falloff of the light shafts ?

I know that if you increase or decrease the threshold of the physical light It shorten or lengthens the rays But I want a nice linear falloff from bright to dark.

Anybody got any ideas on this ?


Andy Gee


Could you post a link to the tutorial you are talking about?


This thread has been automatically closed as it remained inactive for 12 months. If you wish to continue the discussion, please create a new thread in the appropriate forum.