T_TEX_MODULATE
Is it possible to have an X-Ray version of T_TEX_MODULATE and T_FOG_TEX_MODULATE render methods?
Gary
Ok, I''ve used that before but how do I register a multitexture render method....
I''ve used PR_RegisterRenderMethod before for normal render methods but how do I register the 2nd pass?
Gary
I''ve used PR_RegisterRenderMethod before for normal render methods but how do I register the 2nd pass?
Gary
You don''t register a different function for different passes. Instead you check the value of PR_Globals.ADDPRIV_Pass inside the function and set different states accordingly.
Also PR_Globals.PR_MethodPasses[methodnum] must be set to the number of passes. This only works in the PR pipelined so I don''t recommend drawing a lot of polygons using it.
Also PR_Globals.PR_MethodPasses[methodnum] must be set to the number of passes. This only works in the PR pipelined so I don''t recommend drawing a lot of polygons using it.
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement