View Full Version : Ray Marching Falloff expression ??

andy gee
04 April 2008, 05:19 PM
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

04 April 2008, 08:03 AM
Could you post a link to the tutorial you are talking about?

CGTalk Moderation
04 April 2008, 08:03 AM
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.