Clean up alpha test and unlit shader
Remove 1 wrong line in alpha test shader
This commit is contained in:
parent
4dd6f75998
commit
e06fabde96
@ -28,9 +28,7 @@ void main(void)
|
|||||||
vec3 new_color = hsvToRgb(vec3(new_xy.x, new_xy.y, old_hsv.z));
|
vec3 new_color = hsvToRgb(vec3(new_xy.x, new_xy.y, old_hsv.z));
|
||||||
col = vec4(new_color.r, new_color.g, new_color.b, col.a);
|
col = vec4(new_color.r, new_color.g, new_color.b, col.a);
|
||||||
}
|
}
|
||||||
|
o_diffuse_color = vec4(col.xyz, 1.0);
|
||||||
vec3 final_color = col.xyz * color.xyz;
|
|
||||||
o_diffuse_color = vec4(final_color, 1.0);
|
|
||||||
|
|
||||||
#if defined(Advanced_Lighting_Enabled)
|
#if defined(Advanced_Lighting_Enabled)
|
||||||
vec4 layer_2 = sampleTextureLayer2(uv);
|
vec4 layer_2 = sampleTextureLayer2(uv);
|
||||||
|
@ -26,9 +26,7 @@ void main(void)
|
|||||||
vec3 new_color = hsvToRgb(vec3(new_xy.x, new_xy.y, old_hsv.z));
|
vec3 new_color = hsvToRgb(vec3(new_xy.x, new_xy.y, old_hsv.z));
|
||||||
col = vec4(new_color.r, new_color.g, new_color.b, col.a);
|
col = vec4(new_color.r, new_color.g, new_color.b, col.a);
|
||||||
}
|
}
|
||||||
|
o_diffuse_color = vec4(col.xyz, 1.0);
|
||||||
vec3 final_color = col.xyz;
|
|
||||||
o_diffuse_color = vec4(final_color, 1.0);
|
|
||||||
|
|
||||||
#if defined(Advanced_Lighting_Enabled)
|
#if defined(Advanced_Lighting_Enabled)
|
||||||
vec4 layer_2 = sampleTextureLayer2(uv);
|
vec4 layer_2 = sampleTextureLayer2(uv);
|
||||||
|
Loading…
Reference in New Issue
Block a user