Vanishing Specular bug
by Helk · in Torque Game Engine Advanced · 05/07/2008 (3:37 am) · 3 replies
I don't understand this, at different camera angles and distances from an interior the specular completely vanishes... Rotating the interior can also produce specular at near right angles only... Anyone have any insight into this? this is my specular material
new Material(FloorMetal2)
{
mapTo = "FloorMetal2";
baseTex[0] = "FloorMetal2_dif";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 48.0;
};
And this is it without specular:
http://img176.imageshack.us/img176/3148/nospecgw2.jpg
And after a slight camera angle change
http://img413.imageshack.us/img413/5578/specpw8.jpg
new Material(FloorMetal2)
{
mapTo = "FloorMetal2";
baseTex[0] = "FloorMetal2_dif";
pixelSpecular[0] = true;
specular[0] = "1.0 1.0 1.0 1.0";
specularPower[0] = 48.0;
};
And this is it without specular:
http://img176.imageshack.us/img176/3148/nospecgw2.jpg
And after a slight camera angle change
http://img413.imageshack.us/img413/5578/specpw8.jpg
About the author
#2
05/12/2008 (1:31 am)
Update 2: replacing pixSpecular.cpp from 1.0.3. compiles and interiors look perfect however now the specular on DTS models is broken it's only showing up in their edges, I could use some help with this, can someone else test an interior with specular like the orkbase in 1.7 and tell me if theirs is broken out of the box as well?
#3
06/23/2009 (8:46 am)
I have the same problem! Wish someone would help...
Torque 3D Owner Helk
Also all the specular on the TGEA demo orkbase interior shows the same issues in TGEA 1.7 so it is unrelated to my content