Revert "Fixed a grass being too dark in some places."
This reverts commit 2b734a9579
.
This commit is contained in:
parent
fa03185370
commit
f1effe3208
@ -23,13 +23,7 @@ void main()
|
||||
#ifdef Use_Bindless_Texture
|
||||
diffusecolor.xyz = pow(diffusecolor.xyz, vec3(2.2));
|
||||
#endif
|
||||
|
||||
#ifndef GL_ES
|
||||
diffusecolor.xyz *= pow(color.xyz, vec3(2.2));
|
||||
#else
|
||||
diffusecolor.xyz *= pow(color.xyz, vec3(1.0 / 2.2));
|
||||
#endif
|
||||
|
||||
diffusecolor.a *= color.a;
|
||||
vec3 tmp = vec3(gl_FragCoord.xy / screen, gl_FragCoord.z);
|
||||
tmp = 2. * tmp - 1.;
|
||||
|
Loading…
Reference in New Issue
Block a user