Archived

This topic is now archived and is closed to further replies.

T_TEX_MODULATE

This topic is 5879 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
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.


Share this post


Link to post
Share on other sites