-
-
Notifications
You must be signed in to change notification settings - Fork 22
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
Skybox support? #1
Comments
It should be easy, given that the scattering is just a post-processing effect. Does it not work with Unity's Skybox system? |
Ah it seems the skybox is rendered after lighting. So for skybox support to be added, the atmospheric scattering needs to be turned into an effect for the post-processing stack. |
@louisGreenland The floating point issues are caused by these lines in AtmosphericScatter.shader:
where attenuation is used without proper initialization.
thus removing the visual artifacts |
Alternatively, using a custom skybox shader with blending mode
works like a charm since the image effect's blending in AtmosphericScattering.shader is
|
@adellari can you please expand how to fix this? |
Great work! Is it possible to get some sort of skybox support with this atmospheric scattering effect?
The text was updated successfully, but these errors were encountered: