goat3dgfx
diff examples/cubemap/sdr/sky.p.glsl @ 9:25b911c7c35c
fixed some line endings
fixed the cubemap2.jpg file in examples/cubemap/data which was resized improperly causing seams...
author | John Tsiombikas <nuclear@member.fsf.org> |
---|---|
date | Mon, 18 Nov 2013 04:10:19 +0200 |
parents | 3d96734fd477 |
children |
line diff
1.1 --- a/examples/cubemap/sdr/sky.p.glsl Mon Nov 18 03:35:20 2013 +0200 1.2 +++ b/examples/cubemap/sdr/sky.p.glsl Mon Nov 18 04:10:19 2013 +0200 1.3 @@ -1,9 +1,9 @@ 1.4 -uniform samplerCube cubemap; 1.5 - 1.6 -varying vec3 norm; 1.7 - 1.8 -void main() 1.9 -{ 1.10 - gl_FragColor = textureCube(cubemap, norm); 1.11 - //gl_FragColor = vec4(norm * 0.5 + 0.5, 1.0); 1.12 -} 1.13 +uniform samplerCube cubemap; 1.14 + 1.15 +varying vec3 norm; 1.16 + 1.17 +void main() 1.18 +{ 1.19 + gl_FragColor = textureCube(cubemap, norm); 1.20 + //gl_FragColor = vec4(norm * 0.5 + 0.5, 1.0); 1.21 +}