bnoazx005 / TDEngine2

TDEngine2 is a cross-platform game engine
Apache License 2.0
18 stars 4 forks source link

[Bug] Shadow map isn't cleared when there are no shadow casters in a scene #84

Closed bnoazx005 closed 2 years ago

bnoazx005 commented 2 years ago

Bug report

Environment

Win 10 x64 / Visual Studio 2022 / TDEngine2-v0.6.x / NVidia GTX 860M

Steps to reproduce the issue

  1. Create an empty scene
  2. Add a directorional light
  3. Add some mesh (static/skinned)
  4. Assign material to that

What's the expected result?

There should be some shading applied to the mesh

What's the actual result?

Everything is unlit and black