open_toontown_panda3d/panda
rdb 3a2048e44a glgsg: Fix skinning shader being unable to render unskinned models
Panda was adding a column with weights (0, 0, 0, 0), but these weights don't add up to 1 so no useful identity matrix can be produced.  Instead it's better to fall back to the OpenGL default, (0, 0, 0, 1).

I'm also defaulting the transform_index values to (0, 1, 2, 3) to support non-indexed skinning (although that's pretty esoteric, given that that only supports 4 transforms...)
2020-11-17 21:01:56 +01:00
..
metalibs general: Don't require BUILDING_* for static builds 2018-08-31 23:54:32 -06:00
src glgsg: Fix skinning shader being unable to render unskinned models 2020-11-17 21:01:56 +01:00