Discard cached sprite planes on texinvalidate
Sprites would stick with their old material on global palette change. This goes through all prsprites and clobbers their CRCs so that an alternate skin / tint / highpal can be applied accordingly.
1 October 2011 · 1 commit by 1 author · SVN
------------------------------------------------------------------------ r2053 | plagman | 2011-10-01 18:00:14 -0700 (Sat, 01 Oct 2011) | 5 lines Polymer: Discard cached sprite planes on texinvalidate Sprites would stick with their old material on global palette change. This goes through all prsprites and clobbers their CRCs so that an alternate skin / tint / highpal can be applied accordingly. ------------------------------------------------------------------------ r2052 | plagman | 2011-10-01 17:32:00 -0700 (Sat, 01 Oct 2011) | 4 lines Polymer: account for model flipping for backface culling. The winding order of faces is different if only flipping about X or Y, and we were unconditionally culling CW faces. ------------------------------------------------------------------------
Sprites would stick with their old material on global palette change. This goes through all prsprites and clobbers their CRCs so that an alternate skin / tint / highpal can be applied accordingly.
The winding order of faces is different if only flipping about X or Y, and we were unconditionally culling CW faces.