perlin noise rendered as a texture.
This commit is contained in:
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user