Material - Normal map HQ specular: Difference between revisions

From Bohemia Interactive Community
Jump to navigation Jump to search
m (Text replace - "{{enHeader}}" to "")
m (Text replacement - "^ " to "")
 
Line 1: Line 1:
'''Material with high quality Normal map and specular map, per pixel specularity'''
'''Material with high quality Normal map and specular map, per pixel specularity'''



Latest revision as of 20:31, 31 January 2021

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";
};