Skip to content
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

Preetham sky shader #6

Open
wants to merge 8 commits into
base: master
Choose a base branch
from

Conversation

Jacobdeanr
Copy link

@Jacobdeanr Jacobdeanr commented Dec 7, 2024

Implemented Preetham Sky Shader.
Adapted from: https://www.shadertoy.com/view/llSSDR

Currently only supports DX9 due to the complexity of the number of shader instructions.
In Hammer you can assign the shader to the skybox under map>map properties > skybox texture name> realistic_sky.

There is no implementation for automatically sampling the light_environment, but this should probably be done by the gamemode, to allow for custom controls through the exposed shader parameters.

Copy link
Member

@andrewmcwatters andrewmcwatters left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Fantastic work, really impressive. Scheduled for production release.

Signed-off-by: Andrew McWatters <[email protected]>

@andrewmcwatters andrewmcwatters added the enhancement New feature or request label Dec 7, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants