How does "Table" control use shader effect?
Recently I did an experiment,that add a shader effect to "Table" control.But I failed.
So I want ask how to make it successful, and what I need to pay attention to?
The Fragment Code:
precision mediump float;
uniform float iTime;
uniform sampler2D sampler2d;
varying vec2 vtex;
vec2 st = vec2(vtex);
gl_FragColor = texture2D(sampler2d, st) * st.y;
What kind of effect are you trying to make and what problem are you having? Have you gotten the shader set up and working with the sample but you're not sure what to do to get the effect you want? Or are you having trouble getting your sample working?
Please sign in to leave a comment.