Skip to content

Shader MakeUp - Ultra Fast doesn't work #870

Closed

Description

@marie-bnl

Description

When you try to use MakeUp - Ultra Fast you get the Vanilla shaders and a message in the console reads:

2026-11-02T15:17:49.603924Z ERROR pomme_client::renderer: Shader pack MakeUp-UltraFast-9.6.zip failed: world0/composite: Vertex shader doesn't validate: error: Entry point main at Vertex is invalid
 = Uses operations forbidden at this stage

This has been fixed (well, on the MakeUp side), see below for other issues regarding MakeUp.

System Info

  • OS: NixOS
  • GPU: AMD Ryzen 5
  • Pomme version: f35eeb9
  • Server or world: 1.21.11 vanilla server

Logs

Relevant log generated with grep "renderer\|naga" latest.log > shader.log ; gzip shader.log.

Shader logs, mainly a bunch of these:

Full logs

Note

Now I don't know whether this issue should be dealt with here or over at MakeUp.

Activity

  1. added
    bug
    on Nov 2, 2026
  2. changed the title [-]Shader MakeUp - UltraFast doesn't work[/-] [+]Shader MakeUp - UltraFast doesn't work (forbidden ops in vsh)[/+] on Nov 2, 2026
  3. marie-bnl commented on Nov 2, 2026

    @marie-bnl
    Author

    So I fixed the issues that prevented the shader from loading, see patch to the shader below. The issues were:


    Note: exposure = 1.0 was the old behaviour of MakeUp, before Iris custom dimensions support. So I guess it just breaks this but doesn't change anything in vanilla dimensions.

    diff --git a/shaders/common/composite_fragment.glsl b/shaders/common/composite_fragment.glsl
    index 78c88d5..4c6f33a 100644
    --- a/shaders/common/composite_fragment.glsl
    +++ b/shaders/common/composite_fragment.glsl
    @@ -71,7 +71,10 @@ varying float exposure;
     #endif
     
     #if (VOL_LIGHT == 1 && !defined NETHER) || (VOL_LIGHT == 2 && defined SHADOW_CASTING && !defined NETHER)
    -    varying mat4 modeli_times_projectioni;
    +    varying vec4 modeli_times_projectioni_0;
    +    varying vec4 modeli_times_projectioni_1;
    +    varying vec4 modeli_times_projectioni_2;
    +    varying vec4 modeli_times_projectioni_3;
     #endif
     
     /* Utility functions */
    @@ -96,6 +99,14 @@ varying float exposure;
     // MAIN FUNCTION ------------------
     
     void main() {
    +    #if (VOL_LIGHT == 1 && !defined NETHER) || (VOL_LIGHT == 2 && defined SHADOW_CASTING && !defined NETHER)
    +        mat4 modeli_times_projectioni;
    +        modeli_times_projectioni[0] = modeli_times_projectioni_0;
    +        modeli_times_projectioni[1] = modeli_times_projectioni_1;
    +        modeli_times_projectioni[2] = modeli_times_projectioni_2;
    +        modeli_times_projectioni[3] = modeli_times_projectioni_3;
    +    #endif
    +
         vec4 blockColor = texture2DLod(colortex1, texcoord, 0);
         float d = texture2DLod(depthtex0, texcoord, 0).r;
         float linearDepth = ld(d);
    diff --git a/shaders/common/composite_vertex.glsl b/shaders/common/composite_vertex.glsl
    index 6382526..49954ed 100644
    --- a/shaders/common/composite_vertex.glsl
    +++ b/shaders/common/composite_vertex.glsl
    @@ -52,7 +52,10 @@ varying float exposure;  // Flat
     #endif
     
     #if (VOL_LIGHT == 1 && !defined NETHER) || (VOL_LIGHT == 2 && defined SHADOW_CASTING && !defined NETHER)
    -    varying mat4 modeli_times_projectioni;
    +    varying vec4 modeli_times_projectioni_0;
    +    varying vec4 modeli_times_projectioni_1;
    +    varying vec4 modeli_times_projectioni_2;
    +    varying vec4 modeli_times_projectioni_3;
     #endif
     
     /* Utility functions */
    @@ -71,20 +74,7 @@ void main() {
         directLightColor = mix(directLightColor, ZENITH_SKY_RAIN_COLOR * luma(directLightColor), rainStrength);
     
         // Exposure
    -    float mipmap_level = log2(min(viewWidth, viewHeight)) - 1.0;
    -
    -    vec3 exposure_col = texture2DLod(colortex1, vec2(0.5), mipmap_level).rgb;
    -    exposure_col += texture2DLod(colortex1, vec2(0.25), mipmap_level).rgb;
    -    exposure_col += texture2DLod(colortex1, vec2(0.75), mipmap_level).rgb;
    -    exposure_col += texture2DLod(colortex1, vec2(0.25, 0.75), mipmap_level).rgb;
    -    exposure_col += texture2DLod(colortex1, vec2(0.75, 0.25), mipmap_level).rgb;
    -
    -    exposure = clamp(luma(exposure_col), 0.0005, 100.0);
    -
    -    float prev_exposure = texture2D(gaux3, vec2(0.5)).r;
    -
    -    exposure = (exp(-exposure) * 3.03) + 0.6;
    -    exposure = mix(exposure, prev_exposure, exp(-frameTime * 1.25));
    +    exposure = 1.0;
     
         #if (VOL_LIGHT == 1 && !defined NETHER) || (VOL_LIGHT == 2 && defined SHADOW_CASTING && !defined NETHER)
             float vol_attenuation;
    @@ -106,6 +96,9 @@ void main() {
         #endif
     
         #if (VOL_LIGHT == 1 && !defined NETHER) || (VOL_LIGHT == 2 && defined SHADOW_CASTING && !defined NETHER)
    -        modeli_times_projectioni = gbufferModelViewInverse * gbufferProjectionInverse;
    +        modeli_times_projectioni_0 = gbufferModelViewInverse[0] * gbufferProjectionInverse[0];
    +        modeli_times_projectioni_1 = gbufferModelViewInverse[1] * gbufferProjectionInverse[1];
    +        modeli_times_projectioni_2 = gbufferModelViewInverse[2] * gbufferProjectionInverse[2];
    +        modeli_times_projectioni_3 = gbufferModelViewInverse[3] * gbufferProjectionInverse[3];
         #endif
     }
    diff --git a/shaders/common/final_vertex.glsl b/shaders/common/final_vertex.glsl
    index 7e215e5..7b11bab 100644
    --- a/shaders/common/final_vertex.glsl
    +++ b/shaders/common/final_vertex.glsl
    @@ -25,5 +25,5 @@ void main() {
         gl_Position = gl_ModelViewProjectionMatrix * gl_Vertex;
         texcoord = gl_MultiTexCoord0.xy;
     
    -    exposure = texture2D(gaux3, vec2(0.5)).r;
    +    exposure = 1.0;
     }

    Alternatively, use https://github.com/marie-bnl/MakeUpUltraFast-WebGPU.


    Now the shader loads and I know what taking LSD in Minecraft feels like.

    screen.mp4
  4. changed the title [-]Shader MakeUp - UltraFast doesn't work (forbidden ops in vsh)[/-] [+]Shader MakeUp - UltraFast doesn't work[/+] on Nov 2, 2026
  5. changed the title [-]Shader MakeUp - UltraFast doesn't work[/-] [+]Shader MakeUp - Ultra Fast doesn't work[/+] on Nov 2, 2026
  6. marie-bnl commented on Nov 2, 2026

    @marie-bnl
    Author

    Closing this issue to make another one for the rendering problems.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bug

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions