SetSkinName displaying orange no material found.
by Sim Ops Studios (#0001) · in Technical Issues · 08/14/2007 (1:14 pm) · 0 replies
I'm trying to get the texture to change on an object in Torque Shader.
The files I am using are:
model.dts
base.model.jpg - A red texture
blue.model.jpg - A blue texture
When I type the following in the command prompt:
setSkinName("dummy");
This does not change the model at all.
setSkinName("blue");
This replaces the red texture with the orange "texture no found" material.
Any suggestions as to why the blue texture is not being found?
(In advance, the same thing happens if i switch the file names, the blue texture shows up, but i can't switch to red)
The files I am using are:
model.dts
base.model.jpg - A red texture
blue.model.jpg - A blue texture
When I type the following in the command prompt:
setSkinName("dummy");
This does not change the model at all.
setSkinName("blue");
This replaces the red texture with the orange "texture no found" material.
Any suggestions as to why the blue texture is not being found?
(In advance, the same thing happens if i switch the file names, the blue texture shows up, but i can't switch to red)