Skip to content

mc_chunkFade

mc_chunkFade Iris Exclusive

Valid Programs: gbuffers_*.vsh


The fade-in progress of the geometry. This value is a float automatically declared in all gbuffers programs which represents the progress of the chunk fade animation introduced in Minecraft version 1.21.11.

In gbuffers_terrain.vsh, the value will be a float in the range 0-1. In all other gbuffers programs, it will be declared as const float mc_chunkFade = -1.0;.

The variable will not be declared if the FADE_VARIABLE feature flag is not available. You should check if the feature is available when using the variable.