addMaterialMapping
by AIDan · in Torque Game Engine · 05/30/2002 (5:07 am) · 7 replies
Hi
Does "detail:" only work on interiors?
greetings
Daniel
Does "detail:" only work on interiors?
greetings
Daniel
About the author
#2
addMaterialMapping("data/texture/grass", "detail: data/detail/grass", "color: 0.4 0.4 0.4 1.0 0.0", "sound: 0");
greetings
Daniel
05/30/2002 (8:21 am)
Ok, I want to add different detail textures for different terrain textures.addMaterialMapping("data/texture/grass", "detail: data/detail/grass", "color: 0.4 0.4 0.4 1.0 0.0", "sound: 0");
greetings
Daniel
#3
The terrain in torque has 1 detail function attached to it.
05/30/2002 (8:24 am)
Actually i think detail: works only on terrain textures!The terrain in torque has 1 detail function attached to it.
#4
When I remove the detailtexture, there is no detailtexture, although there are some assigned to the materials.
The "detail:" part seems to be broken or we do something wrong.
greetings
Daniel
05/30/2002 (8:42 am)
Maybe the problem is the detailtexture in the TerrainBlock.new TerrainBlock(Terrain) {
detailTexture = "~/data/world/detail/detail01.png";
};When I remove the detailtexture, there is no detailtexture, although there are some assigned to the materials.
The "detail:" part seems to be broken or we do something wrong.
greetings
Daniel
#5
05/30/2002 (9:50 am)
oh, I didn't saw that "detailTexture =" thingy. Yeah maybe detail: is broken... who knows... maybe someone that did this should pick on this thread
#6
Trying to see if I can find where it is using the detail that is in the .mis file now.
EDIT:
Hmm.. I see the path the current detail texture takes to render. Just don't see how the MaterialMapping detail texture could be used to over-ride the default.
05/30/2002 (12:39 pm)
Looks like something got changed. The detail for addMaterialMapping is never referenced by the engine.Trying to see if I can find where it is using the detail that is in the .mis file now.
EDIT:
Hmm.. I see the path the current detail texture takes to render. Just don't see how the MaterialMapping detail texture could be used to over-ride the default.
#7
greetings
Daniel
05/30/2002 (1:04 pm)
Maybe it is the implementation of a "nice-to-have" feature which did not do it into the final game.greetings
Daniel
Torque Owner Desmond Fletcher
fletcher