GLSL - Moving vertex

After a long period of study and testing, i finally understand how to properly use the shaders.
I had to make a variable value, use the same value inside the .frag and .vert. then modify the first value using the mix(__) function to mix only the same color together and not the whole color pallet.
The color isn’t fine since it seem to only generate white and black… so i suppose mix isn’t what i m looking for but I’m close i can feel it :stuck_out_tongue:

Working shadow

1 Like