"grTexCombine" problems

Started by
1 comment, last by MIKI_hack 24 years, 6 months ago
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!!!
Advertisement
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);
MIKI_hack,

There are some good tutorials for Glide at:
www.voodooextreme.com/glide3tutorial/

Some of them deal specifically with grTexCombine, and I think one of them covers the torch effect (combining a light texture over a base texture).

Paulcoz.

This topic is closed to new replies.

Advertisement