Page 1 of 1

Material OGRE (single/pass)

Posted: Sun May 29, 2005 4:04 pm
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?

Posted: Sun May 29, 2005 5:53 pm
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.

Posted: Sun May 29, 2005 6:21 pm
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.

Posted: Sun May 29, 2005 8:49 pm
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