seysen 10 Posted August 4, 2012 I want to add normal map to models in my addon. So I used NormalMap Vertex shader & Pixel shader like it described on example. I have some similar models. On one of models object1.rvmat looks like this: PixelShaderID="NormalMap"; VertexShaderID="NormalMap"; class Stage1 { texture="x\addons\object1_no.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,1}; pos[]={0,0,0}; }; }; class Stage3 { texture=â€#(ai,32,128,1)irradiance(8)â€; uvSource="none"; }; It works fine. On the second model object2.rvmat looks like this: PixelShaderID="NormalMap"; VertexShaderID="NormalMap"; class Stage1 { texture="x\addons\object2_no.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,1}; pos[]={0,0,0}; }; }; class Stage3 { texture=â€#(ai,32,128,1)irradiance(8)â€; uvSource="none"; }; And with it Buldozer tells me "Cannot load texture #(ai,32,128,1)irradiance." The differences between 2 rvmat's are path to the normal map texture. One of it works. Second and more show error. What I'm doing wrong? Share this post Link to post Share on other sites
seysen 10 Posted August 8, 2012 Re-saving using the Material Editor has helped. All done. Share this post Link to post Share on other sites