Multitexturing and UV coords

Started by yindroid, April 22, 2012, 12:08:44 PM

Previous topic - Next topic

yindroid

Hi, guys!
I know how to make multitexturing with 2 textures, so can I use more than 2 textures?
And the second question; Is there any way to change UV coords to all multitexture layers? (I managed to change UV coords just for one layer with setTextureMatrix() )

Thanks in advance!

EgonOlsen

There's a setting in Config that you might have to adjust to use more than 2 layers. However, the hardware has to Support it or the engine will default back to 2 layers.

You can adjust uv-coords of other layers by using the PolygonManager and by compiling the objects with compile(true, false). But it's a quite expensive operation. I don't recommend to do this frequently. Another option is to use a shader for this.

Bzw: Is this question jPCT or -AE related?

yindroid

Hi, Egon. Its AE releated.
have to apologize, it seem I made this topic in wrong section  :-[