[patch] CommonFilters: added getTexCoordSemantic()
Bug #1374594 reported by
Juha Jeronen
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Panda3D |
Fix Released
|
Undecided
|
rdb |
Bug Description
CommonFilters refactor vol. 1.
As discussed in http://
This very small patch adds an internal helper function to CommonFilters to fetch the next free TEXCOORD semantic. When called again with the same label, the same semantic is returned. This is used to match the TEXCOORD semantics between the generated vshader and fshader.
The result is that consecutive registers will be used regardless of which combination of filters is enabled.
Changed in panda3d: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
I created an easier solution that is more sustainable in the long run. The filters now put the list of texcoords they want to use in a list, after which they are added programmatically.
Please grab the latest version from CVS: panda3d. cvs.sourceforge .net/viewvc/ panda3d/ direct/ src/filter/ CommonFilters. py?view= markup
http://