GodMan
I’m using dx9, and I’ve noticed the specular without a cubemap is not very noticeable. I’ve even used the define SPECMAP
, and used a rgb texture for the specular map slot.
Material:
<material>
<technique name="Techniques/DiffNormalSpec.xml" />
<texture unit="diffuse" name="Textures/head.tga" />
<texture unit="normal" name="Textures/grunt_head_bump.tga" />
<texture unit="specular" name="Textures/grunt_chest_spec.tga" />
<shader psdefines= "NORMALMAP SPECMAP" />
<parameter name="bumpStrength" value="2.0" />
<parameter name="MatDiffColor" value="1.0 1.0 1.0 1" />
<parameter name="MatSpecColor" value="0.38 0.38 0.38 2" />
<parameter name="MatEmissiveColor" value="0 0 0 1" />
</material>