projects
/
laserbrain_demo
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
76821504a8a6c0f308f7c8331e50c2cea00c1fef
[laserbrain_demo]
/
skydome.p.glsl
1
uniform samplerCube envmap;
2
3
varying vec3 normal;
4
5
void main()
6
{
7
vec3 n = normalize(normal);
8
vec3 texel = textureCube(envmap, n).xyz;
9
10
gl_FragColor.rgb = texel;
11
gl_FragColor.a = 1.0;
12
}