1#import "Common/ShaderLib/Optics.glsllib" 2 3uniform ENVMAP m_Texture; 4 5varying vec3 direction; 6 7void main() { 8 vec3 dir = normalize(direction); 9 gl_FragColor = Optics_GetEnvColor(m_Texture, direction); 10} 11 12