Decals [Solved]

Rockin

10-07-2006 16:36:25

Hi,
I'm trying to create some decals. For this I use 2 Passes (is this correct in the first place?), and here comes the problem: I can't make the second pass to use UVW Channel 2 (or any other than 1). I have applied an UVW Unwrap modifier for both channels, so what could be the problem?

Lioric

10-07-2006 19:24:01

That should work, any other information about your scene that might be useful to solve this issue?

Did you tested on a simple object with two map channels?

Are you using the Ogre materials?

Rockin

10-07-2006 20:04:18

Thanks for the quick reply, yes, i've tested it on a simple box, with Ogre Materials, and I've viewed it in both the Ogre viewport and the Ogre Engine.

I'll pm you a link with the file, maybe that should help..

Evak

10-07-2006 22:51:43

I found that when working with multiple passes for decals, playing with the pass material settings for depth bias so that the correct pass shows over the other.

Worked well for me and let me add a decal graphiti layer with alpha rejection display over a bump mapped wall.

Rockin

11-07-2006 11:38:55

Thank you Evak, that is a good thing to know about multiple decal passes, since I plan to do that just as soon as I solve the current problem. Right now I just can't make the passes to use different UVW channels :roll:

Evak

11-07-2006 16:32:48

you have to create your 2 UV channels in 3ds max, and then remember that in Ogre and Ofusion the mapping channels start at 0.

So your UV1 in max has to be set as channel 0 in Ofusion, and UV2 as channel 1 in Ofusion.

When you have set up your UV channels in max with either the UVWmap or UnwrapUVW modifiers you set the map channel you want to use when selecting your bitmap in ogre texture unit (top right)

Rockin

11-07-2006 16:43:41

and then remember that in Ogre and Ofusion the mapping channels start at 0


:idea: Enlightning!! :idea:

Thanks very much! It works now!