Skip to content

sky & stars Internal Shader Settings #2470

Description

@Luracasmus

Is your feature request related to a problem? Please describe.
Currently, the only way to disable sky or star rendering is either discarding fragments or moving vertices outside of clip space in gbuffers_skybasic

Describe the solution you'd like
Add Internal Shader Settings to toggle sky and star rendering, similar to the existing sun, moon and clouds

Additional context
This would be useful for shader packs that render a custom sky in a composite-style program, where the time that goes into producing the vertices of the vanilla sky (which is seemingly, according to RenderDoc, not insignificant) is currently being completely wasted. This feature would also allow shader developers to completely omit the gbuffers_skybasic program when both sky and stars are disabled

Origin: https://discord.com/channels/237199950235041794/736928196162879510/1282047423581257729

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions