T_TEX_MODULATE

Started by
3 comments, last by Gary 22 years, 5 months ago
Is it possible to have an X-Ray version of T_TEX_MODULATE and T_FOG_TEX_MODULATE render methods? Gary
Advertisement
\pr4\code\d3drend.c is provided so you can make up your own methods.

Author of Power Render (http:/www.powerrender.com)
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
Is it possible to add the 2nd pass?
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.


Author of Power Render (http:/www.powerrender.com)

This topic is closed to new replies.

Advertisement