-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
Idea
The plan is to create a custom skybox with the rendertype_item_entity_translucent_cull core shader. The main issue is that core shaders don't have a good way to modulate variables based on scoreboard values. I have two options in mind:
- create 254 textures + models (excluding alpha=0 and 255) each with a different transparency value and retrieve it in the shader by reading the texture's alpha channel. (I could probably also use the RGB channels, but I still need 254 instances)
- use a single texture + model in combination of the dye-attribute. Maybe the color gets blended in automatically before the shader runs? Then I could easily change the value during runtime.
Helpful/Inspirational Resources
- https://youtu.be/ZGpP5I_0qrg?si=Dj08caiITQPonYCk
- https://discord.com/channels/154777837382008833/157097006500806656/1420497051124498602
- https://discord.com/channels/154777837382008833/507995770109165579/1396375305924640829
- https://github.com/Meekiavelique/minecraft-vanilla-skybox
- https://github.com/BalintCsala/minecraft-vanilla-skybox
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels