ProwlEngine / Prowl

An Open Source C# 3D Game Engine under MIT license, inspired by Unity and featuring a complete editor and built on Silk.NET
MIT License
413 stars 33 forks source link

[Build] Directional Light appears to stop working in Builds #80

Closed michaelsakharov closed 10 months ago

michaelsakharov commented 10 months ago

As the title says, they just seem to stop. They are updating, and their Shadow maps are generated i believe correctly. I tried inverting the shadow maps direction which did nothing. So not too sure whats up yet.

michaelsakharov commented 10 months ago

ok so doesn't seem to be Directional lights at fault, its the Material Texture system In standalone builds for some reason texture uniforms are unreliable, the default Noise texture sometimes appears in places it shouldnt, and uniforms for gPositionRoughness might get gNormalMetallic instead, this obviously completely breaks down the renderer.