Ray Marching Falloff expression ??


#1

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 ?

Thanks

Andy Gee


#2

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


#3

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.