natural-mystic-shaders icon indicating copy to clipboard operation
natural-mystic-shaders copied to clipboard

The Shader is broken on android

Open MrAgentBlaze opened this issue 6 years ago • 4 comments

The Shader works in my new Samsung Galaxy A5 android 6.0.1 but it looks broken . You can see the pic i sent to pho (you) in discord

MrAgentBlaze avatar Feb 10 '19 12:02 MrAgentBlaze

Yes I saw it. The sky shader is working flawlessly but the terrain is rendered completely black. I have no idea why that happens. Someone please shed some light.

depressed-pho avatar Feb 13 '19 11:02 depressed-pho

It works perfectly fine for me. I'm using a Pixel 2 XL.

gio1135 avatar Feb 14 '19 00:02 gio1135

Yes I saw it. The sky shader is working flawlessly but the terrain is rendered completely black. I have no idea why that happens. Someone please shed some light.

I see what you did there. Here, let me do so /effect @s night_vision 10000 255 true.

gio1135 avatar Feb 14 '19 01:02 gio1135

In that screenshot the far terrain (where far chunk fogs normally appear) has some random colors like yellow, green, and red. This smells like a tone mapping curve being incorrectly applied, possibly due to precision loss of floating point arithmetic. I'll see if it can ever happen in my code, but it's most likely a driver bug.

depressed-pho avatar Feb 14 '19 01:02 depressed-pho