harrand / Topaz

C++23 Game Engine
https://harrand.github.io/Topaz/
MIT License
33 stars 3 forks source link

Test Environment looks wrong on different graphics cards #24

Closed harrand closed 6 years ago

harrand commented 6 years ago

In noshadows.fragment.glsl, specular_directional returns a very strange value (i think negative) when specular_component of the light is zero. This causes the scene to be completely black.

harrand commented 6 years ago

Solved in commit 048f791e5a36802d7d15a149d0951bc9f438355c