"grTexCombine" problems
I have some problem using "grTexCombine" function.
is there anyone who could send me some good trick about this !_hell_! function??
I want to combine 2 texture (like a lightmap effect!) but I don''t know how to do it !!
There''s a lot of combination like GR_COMBINE_FUNCTION_LOCAL
or other similir .
Please help me!!!
January 28, 2000 10:24 PM
This will work fine as long as there are more than one tmu present
grTexCombine(GR_TMU1,
GR_COMBINE_FUNCTION_LOCAL, GR_COMBINE_FACTOR_NONE, GR_COMBINE_FUNCTION_ZERO, GR_COMBINE_FACTOR_NONE,
FXFALSE,
FXFALSE);
grTexCombine(GR_TMU0, GR_COMBINE_FUNCTION_SCALE_OTHER,
GR_COMBINE_FACTOR_LOCAL,
GR_COMBINE_FUNCTION_ZERO,
GR_COMBINE_FACTOR_NONE,
FXFALSE,
FXFALSE);
grTexCombine(GR_TMU1,
GR_COMBINE_FUNCTION_LOCAL, GR_COMBINE_FACTOR_NONE, GR_COMBINE_FUNCTION_ZERO, GR_COMBINE_FACTOR_NONE,
FXFALSE,
FXFALSE);
grTexCombine(GR_TMU0, GR_COMBINE_FUNCTION_SCALE_OTHER,
GR_COMBINE_FACTOR_LOCAL,
GR_COMBINE_FUNCTION_ZERO,
GR_COMBINE_FACTOR_NONE,
FXFALSE,
FXFALSE);
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement
Recommended Tutorials
Advertisement