[osg-users] problems with weather

2010-07-13 Thread Jose Rincon
Hi, I have a scene with weather(in this case with fog) but in the moment I apply a light shader, the weather dissapears. Is there a possibility of having the weather I had before? Thank you! Cheers, Jose -- Read this topic online here:

Re: [osg-users] problems with weather

2010-07-13 Thread Keith Parkins
Hi Jose, Are you applying the fog in your shader? Remember that the GLSL spec states that Fog is not applied once a fragment shader has been supplied. Your shader replaces the fixed function shader that applied the fog. Check out: http://www.idevgames.com/forum/showthread.php?t=12436 for a