Specular maps working?
willy-wilson
Join Date: 2010-01-12 Member: 70102Members
Ok, well obviously spec maps are working but how can i get them to work with materials?
heres what i get in the viewer.
<img src="http://i159.photobucket.com/albums/t127/willy-wilson/Capture1-1.png" border="0" class="linked-image" />
and heres around what it should look like. (realtime hlsl shader in maya)
<img src="http://i159.photobucket.com/albums/t127/willy-wilson/Capture-26.png" border="0" class="linked-image" />
and heres my .material (note i do have a gloss map as well but none of the textures load if its included in the .material and i have tried putting the spec in other textures alpha channels.)
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> <material>
<maps>
<map type="texture" value="materials/test_color.dds" />
<map type="bump" value="materials/test_normal.dds" />
<map type="specular" value="materials/test_spec.dds" />
</maps>
</material><!--c2--></div><!--ec2-->
Any help at all would be much appreciated.
heres what i get in the viewer.
<img src="http://i159.photobucket.com/albums/t127/willy-wilson/Capture1-1.png" border="0" class="linked-image" />
and heres around what it should look like. (realtime hlsl shader in maya)
<img src="http://i159.photobucket.com/albums/t127/willy-wilson/Capture-26.png" border="0" class="linked-image" />
and heres my .material (note i do have a gloss map as well but none of the textures load if its included in the .material and i have tried putting the spec in other textures alpha channels.)
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> <material>
<maps>
<map type="texture" value="materials/test_color.dds" />
<map type="bump" value="materials/test_normal.dds" />
<map type="specular" value="materials/test_spec.dds" />
</maps>
</material><!--c2--></div><!--ec2-->
Any help at all would be much appreciated.
Comments
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1--> <material>
<maps>
<map type="texture" value="materials/test_color.dds" />
<map type="bump" value="materials/test_normal.dds" />
<map type="specular" value="materials/test_color.dds" />
</maps>
</material><!--c2--></div><!--ec2-->
Well, at least that's how I do it.
Note that things will look different in Viewer and Editor due to likely differing light sources and angles.
You could try e-mailing me the texture (send a PM if so), I'll see if it looks like that on my rig, see if it really is a bug...
Not working for me either. The hell.
May or may not be a bug. Gotta ask someone on dev team, or someone knowledgeable at least.
And the specular map needs to be really low in brightness (like Draco said). When you're finished making the specular map, in photoshop, adjust your white level down from 255 to around 100 or less.