Home | History | Annotate | Download | only in Nifty
      1 uniform sampler2D m_Texture;
      2 uniform vec4 m_Color; 
      3 
      4 varying vec2 texCoord;
      5 
      6 void main() {
      7     vec4 texVal = texture2D(m_Texture, texCoord);
      8     gl_FragColor = texVal * m_Color ;
      9 }
     10 
     11