#ifdef GL_ES precision mediump int; precision mediump float; #endif #define USE_OGRE_FROM_FUTURE #include MAIN_PARAMETERS IN(vec2 NDotV, TEXCOORD0) MAIN_DECLARATION { gl_FragColor = vec4_splat(NDotV.x / 2.0); }