perlin noise rendered as a texture.

This commit is contained in:
Julian
2020-01-24 13:27:38 +01:00
parent 54ecea00e2
commit 63a80c908d
2 changed files with 26 additions and 18 deletions

View File

@@ -92,8 +92,8 @@
uniform sampler2D u_texture;
void main(void) {
//gl_FragColor = texture2D(u_texture, v_uv);
gl_FragColor = vec4(0.0,0.0,1.0,1.0);
gl_FragColor = texture2D(u_texture, v_uv);
//gl_FragColor = vec4(0.0,0.0,1.0,1.0);
}
</script>
<script id="ndc-vs" type="x-shader/x-vertex">