mirror of
https://github.com/Merlin1809/Eclipse-Shader.git
synced 2026-10-12 02:08:18 +08:00
Fix DH chunk fading on item frames
This commit is contained in:
1 parent
1d2beb230b
commit
5e31cf732a
1 file changed
+1
-1
@@ -461,7 +461,7 @@ void main() {
|
||||
float viewDist = length(playerpos);
|
||||
float ditherFade = smoothstep(0.98 * far, 1.03 * far, viewDist);
|
||||
|
||||
Albedo.a *= step(ditherFade, bayerDither());
|
||||
if(step(ditherFade, bayerDither()) == 0.0) discard;
|
||||
#endif
|
||||
|
||||
#if defined HAND
|
||||
|
||||
Reference in new issue
Block a user