Material - Normal map HQ specular: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
No edit summary
 
m (Text replace - "{{enHeader}}" to "")
Line 1: Line 1:
{{enHeader}}
 


'''Material with high quality Normal map and specular map, per pixel specularity'''
'''Material with high quality Normal map and specular map, per pixel specularity'''

Revision as of 19:34, 28 November 2011


Material with high quality Normal map and specular map, per pixel specularity

specular[] = {0.5,0.5,0.5,0};
specularPower = 10;
PixelShaderID = "NormalMapSpecularMap";
VertexShaderID = "NormalMap";
class Stage1
{
  texture="temp\NormalMap\normmap_NOHQ.tga";
  uvSource="tex";
};
class Stage2
{
  texture="temp\NormalMap\specmap_SM.tga";
  uvSource="tex";
};