-
Notifications
You must be signed in to change notification settings - Fork 61
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cloudy fog effect #17
Comments
Is this possible? |
Would be quite hard to make something similar to that |
This is a good suggestion, but I'm not sure how the result will turn out to be. Two ways I think this could be implemented are: Approach 1 (Realistic):
Approach 2 (Just fake it):
Approach 1 isn't really suited for this shader, but it's possible. |
I think you add it and add a config line to toggle between the two approach and turn it on and off |
does Approach 1 is possible to do in vertex shader? |
Yes, its possible. But it will look a little weird when you move because of interpolation. As example, look at the cloud/aurora reflection on water in this shader.
Yes you can use any control statement in vertex shader. See GLES 2.0 Reference card to understand GLSL more. |
- Add simple cloudy fog effect (#17) - Mirror sky gradient
New fog type with nlRenderVolFog function, uses ray matching on this fog to appear randomly and move on the map, similar to Rain Mist and this photo
The text was updated successfully, but these errors were encountered: