just searched the forums and while I found multiple threads on combining textures and such, I could not find an answer to " a lit decal"
ie texture put on top of other rendered thru combine/mtex.
in one thread someone said thru combine one could do it without loosing the light information.
but I tried interpolate and still loose light information.
tex0 = GL_MODULATE
tex1 = texcombine GL_INTERPOLATE GL_PREVIOUS GL_SRC_COLOR GL_TEXTURE GL_SRC_COLOR GL_CONSTANT GL_SRC_ALPHA;
its kinda logical that the light information is lost, cause of the way interpolate works
I wonder is there a way to do lit decals ?
my picks would be:
crossbar (interpolate in tex0 and modulate with light in tex1),
3 stages (add another stage which just does prev modulate light)
is there another way that would work in 2 texunits without vendor specific extensions/crossbar ?