mirror of
https://github.com/X0nk/Bliss-Shader.git
synced 2025-06-22 00:37:35 +08:00
fix cloud animation degrading after around 1000 days. fix tiny issue on emissives and block breaking effect
This commit is contained in:
@ -334,7 +334,9 @@ void main() {
|
||||
#else
|
||||
vec3 Albedo = toLinear(texture2D(texture, adjustedTexCoord.xy).rgb);
|
||||
#endif
|
||||
|
||||
|
||||
if(dot(Albedo.rgb, vec3(0.33333)) < 1.0/255.0) { discard; return; }
|
||||
|
||||
gl_FragData[0] = vec4(encodeVec2(vec2(0.5)), encodeVec2(Albedo.rg), encodeVec2(vec2(Albedo.b,0.02)), 1.0);
|
||||
#endif
|
||||
|
||||
|
@ -62,7 +62,7 @@ void main() {
|
||||
|
||||
#if defined SPIDER_EYES || defined BEACON_BEAM || defined GLOWING
|
||||
|
||||
if(Albedo.a < 0.102 || dot(Albedo.rgb, vec3(0.33333)) < 0.01) { discard; return; }
|
||||
if(Albedo.a < 0.102 || dot(Albedo.rgb, vec3(0.33333)) < 1.0/255.0) { discard; return; }
|
||||
|
||||
float minimumBrightness = 0.5;
|
||||
|
||||
|
Reference in New Issue
Block a user