Page 1 of 1

understanding of Material

Posted: Thu Nov 23, 2006 3:52 pm
by Cppuser
Hi,

sorry for stupid questions but i would like to confirm if i've really understand some things correctly in the engine.

Does the SMaterial structure manages all the samplerstates for each texturestage and keeps all other needed texture properties in it?

e. g
If i wan't to use an iron texture,i will create an iron object and desribe it more detailed with this structure especially the shininess of this texture etc.?

Is that correct?

thx

Posted: Thu Nov 23, 2006 4:04 pm
by hybrid
Yes.