Material OGRE (single/pass)

The place for artists, modellers, level designers et al to discuss their approaches for creating content for OGRE.
Post Reply
User avatar
2019
Gnoblar
Posts: 10
Joined: Sat Jan 29, 2005 4:05 pm
Location: Amsterdam Holland

Material OGRE (single/pass)

Post by 2019 »

For examle i would like to make a lighthouse and give him some history to tell and let him illuminate within his characteristics.

I would like to see happen that along the years we see the lighthouse become more dirty.

Okey, to me it seems that with ogre (single/pass) material i can get this done, right?

using slot 1 for base material, slot 2 for self illumitation (animated perhaps) and slot 3 for the dirt map which will increase it's opaque along the time line.

However it seems that once you've allready have a diffuse map selected you can't select another one.

I have't tried it all yet to put in to ogre, so that's why i'm asking.


btw, if i would used 3ds max double sided material, would that be working in ogre?
User avatar
sinbad
OGRE Retired Team Member
OGRE Retired Team Member
Posts: 19269
Joined: Sun Oct 06, 2002 11:19 pm
Location: Guernsey, Channel Islands
x 67
Contact:

Post by sinbad »

You have to understand that the way 3DS represents materials is not the way they work in realtime systems like D3D and GL.

Ogre can render multiple passes per material, and each pass can use multitexturing - the number of texture units on the card determine how many textures you can apply at once, but at least 4 is a reasonable assumption.
User avatar
2019
Gnoblar
Posts: 10
Joined: Sat Jan 29, 2005 4:05 pm
Location: Amsterdam Holland

Post by 2019 »

You have to understand that the way 3DS represents materials is not the way they work in realtime systems like D3D and GL.
Yeah, things like illumination looks very diffrent from 3ds
it's looks actually very bad in max
Ogre can render multiple passes per material, and each pass can use multitexturing - the number of texture units on the card determine how many textures you can apply at once, but at least 4 is a reasonable assumption.
sure 4 is more then enough.
This ogre shader in new to me and some made me asking why you can't sellect two diffuse slots.
User avatar
psyclonist
OGRE Expert User
OGRE Expert User
Posts: 286
Joined: Fri Nov 01, 2002 3:54 pm
Location: Berlin & Nuremberg, Germany
x 1
Contact:

Post by psyclonist »

You may want to take a look at the Octopus manual for more information on the Ogre related material plugins (-> yake.org/wiki).

-psy
Post Reply