Initial commit.
This commit is contained in:
commit
44b5f2392f
98 changed files with 11750 additions and 0 deletions
6
resources/normal.frag
Normal file
6
resources/normal.frag
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
varying vec3 normal;
|
||||
|
||||
void main() {
|
||||
vec3 n = normalize(normal) / 2.0 + vec3(0.5, 0.5, 0.5);
|
||||
gl_FragColor = vec4(n[0], n[1], n[2], 1.0);
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue