godot_heightmap_plugin icon indicating copy to clipboard operation
godot_heightmap_plugin copied to clipboard

Normal Maps in Simple_4_lite.shader

Open Wodsobe opened this issue 3 years ago • 1 comments

Screen Shot 2021-03-29 at 4 35 32 PM

I tried implementing normal map code into simple_4_lite.shader since simple_4.shader wasnt supported on my computer. I got this weird result, what am i doing wrong?

Wodsobe avatar Mar 29 '21 21:03 Wodsobe

The reason simple4_lite is called lite is because it precisely doesn't support normal maps, it only uses albedo+roughness maps.

If your computer "doesn't support" simple4 it means either you had misconfiguration of some sort (using DirectX maps instead of OpenGL ones?), or your graphics card is too limited and problems this plugin can't workaround might occur (like exceeding the maximum amount of textures sampled by shaders, which happens silently most of the time and causes weird visual glitches sometimes). If you tried adding code for normal maps yourself then yeah, either you get back to the same issue, or your code is wrong somehow. You didn't fill in the issue template either so that's all I can tell from the screenshot.

Zylann avatar Mar 30 '21 09:03 Zylann