open_toontown_panda3d/panda
rdb 22381c94d4 pgraphnodes: Disable lighting when rendering shadow cam
This prevents accessing a texture (the shadow map) that we're currently rendering into.  Hopefully a reasonable driver was already optimizing out the access properly due to the color write being off, but it could cause unnecessary work in the driver

This will have the effect of the shader generator generating a different shader for the shadow pass than for the main pass, ideally we optimize the shader generator a bit more so that there are fewer shaders generated for the shadow pass.
2024-11-14 20:11:39 +01:00
..
metalibs Merge branch 'release/1.10.x' 2024-03-12 15:39:16 +01:00
src pgraphnodes: Disable lighting when rendering shadow cam 2024-11-14 20:11:39 +01:00
CMakeLists.txt net: Prepare to split these classes out into panda3d.net module 2024-03-02 13:41:23 +01:00