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;