Shader working on Millumin3 not on Millumin4


the shader attached is not working on Millumin4. I supposed because of Metal / Opengl...

the shader is a displacement map fx.

is there something i can change to make it work ?




  • Hello @Yrrostudio,

    You need to set the gl_FragColor variable, this is a good practice :

    void main(void){
        gl_FragColor = mainVideo(gl_FragColor, gl_FragCoord.xy);

    We will see if we can improve this behavior, so the Metal conversion takes the out keyword into account (alllowing a secondary function to modify a variable by reference).

    Best. Philippe

  • edited October 2023

    Thanks a lot Philippe :)

    It's working ! ♥️

Sign In or Register to comment.