Change render target to 16bit

This commit is contained in:
Julian
2020-01-27 01:39:10 +01:00
parent 03467fc70b
commit a6526c28e4
2 changed files with 7 additions and 6 deletions

View File

@@ -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">