[osg-users] Could you please share the ground fog shader code or link?

OpenSceneGraph Users osg-users at lists.openscenegraph.org
Tue Sep 15 01:56:58 PDT 2020


Hello.
I'm having a hard time implementing the ground fog as a shader.

Could you please share the  ground fog shader code or link?

please.. help..

Based on this I am referencing the link below to implement a height based 
ground fog.

https://www.iquilezles.org/www/articles/fog/fog.htm

The effect we want to implement finally is to implement the effect as shown 
in the link below.

http://www.prepar3d.com/wp-content/uploads/2013/10/v2ExampleFog2On.jpg

I've been trying in a number of ways, but the results are still not very 
good.

-- 
You received this message because you are subscribed to the Google Groups "OpenSceneGraph Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to osg-users+unsubscribe at googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/osg-users/11740d02-efb8-4f52-a154-3a79c928069bo%40googlegroups.com.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20200915/f84882b2/attachment.html>


More information about the osg-users mailing list