Change render target to 16bit
This commit is contained in:
@@ -145,7 +145,7 @@
|
||||
//gl_FragColor = vec4(mix(waterColor, vec3(1.,1.,1.),fresnel).xyz, 1.);
|
||||
//gl_FragColor = vec4(result,1.0);
|
||||
//gl_FragColor = vec4(normal,1.0);
|
||||
gl_FragColor = vec4(displace.xyz,1.0); //Show Perlin Noise texture deactivate vertex distrotion before
|
||||
gl_FragColor = vec4(displace.x,displace.x,displace.x,1.0); //Show Perlin Noise texture deactivate vertex distrotion before
|
||||
}
|
||||
</script>
|
||||
<script id="default-vs" type="x-shader/x-vertex">
|
||||
|
||||
Reference in New Issue
Block a user