Skip to content

Space Warp #1

@FabianHummel

Description

@FabianHummel

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

Metadata

Metadata

Assignees

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions