|
@@ -1,7 +1,10 @@
|
|
-varying mediump vec3 var_texcoord0;
|
|
|
|
|
|
+#version 140
|
|
|
|
+
|
|
|
|
+in mediump vec3 var_texcoord0;
|
|
|
|
|
|
uniform samplerCube cubemap;
|
|
uniform samplerCube cubemap;
|
|
|
|
|
|
-void main() {
|
|
|
|
- gl_FragColor = textureCube(cubemap, var_texcoord0);
|
|
|
|
|
|
+void main()
|
|
|
|
+{
|
|
|
|
+ gl_FragColor = texture(cubemap, var_texcoord0);
|
|
}
|
|
}
|