Jump to content
Sign in to follow this  
MehMan

Normal map, specular map and AS map

Recommended Posts

I have a quick question, is it possible to have a RVmat defined with all three maps applied to a model?

[EDIT]

I think this should cover it, no?

NormalMapMacroASSpecularMap

If I understand correctly, it's exaclty what I'm looking for.

Share this post


Link to post
Share on other sites

This is the shader model that is applied to the bis soldiers. I think that that is the shader model you're looking for.

Share this post


Link to post
Share on other sites

I'm not sure if it is, the BI soldier only loads up the normal map and AS map, I'd require all three to be loaded if possible. If not I'll just see how the spec and normal map works out.

Share this post


Link to post
Share on other sites
I have a quick question, is it possible to have a RVmat defined with all three maps applied to a model?

[EDIT]

I think this should cover it, no?

NormalMapMacroASSpecularMap

If I understand correctly, it's exaclty what I'm looking for.

yep, you got it. Thats what I do all the time.

Share this post


Link to post
Share on other sites

This is quoted from the BI soldier's models' body rvmat that was released publicly:

<table border="0" align="center" width="95%" cellpadding="0" cellspacing="0"><tr><td>Code Sample </td></tr><tr><td id="CODE">

PixelShaderID="NormalMapMacroASSpecularMap";

VertexShaderID="NormalMapAS";

Control over the diffuse map is in pass 2, but it doesn't name the diffuse map explicitly. I think that that information is in the p3d.

Maybe there is another shader that you can define the diffuse map in the rvmat.. but you also have control over the texture map in the game engine with the scripting command 'setObjectTexture'.

Share this post


Link to post
Share on other sites

Oh wait, the face map has the thing I'm looking for:

PixelShaderID="NormalMapMacroASSpecularDIMap";

VertexShaderID="NormalMapAS";

The RVmat for the face loads all three, normal, spec and AS map, that's why I was a bit confused when looking at the BI soldier since it didn't contain any _smdi file and it wasn't defined anywhere.

Well now that I've proven that I'm a moron once again, I wish to thank you for all your help.

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
Sign in to follow this  

×