Skip to content

Conversation

C-Core
Copy link
Member

@C-Core C-Core commented Jun 4, 2021

Uses the filtered sky reflection cubemap to modulate the fog color. Sharper mipmaps are used at sky distance and blurrier mipmaps are used towards the camera. This is a very cheap method to emulate scattering and also ensures that fogged geometry blends nicely into the skybox.

@jankrassnigg
Copy link
Member

Sounds interesting! Can you attach a screenshot ?

@C-Core C-Core force-pushed the user/ck/fogColor branch from 76a8958 to e2908f0 Compare June 4, 2021 11:23
@C-Core
Copy link
Member Author

C-Core commented Jun 4, 2021

ModulateWithSkyColor

@C-Core C-Core merged commit 9fb7928 into dev Jun 4, 2021
@C-Core C-Core deleted the user/ck/fogColor branch June 4, 2021 13:46
@jankrassnigg jankrassnigg added this to the Next Release milestone Jun 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants