lennard 447 Posted July 2, 2010 Hi, When putting some units with custom normals ingame I stumbled on some weird problem. The normals go from normal to shiny(the units sort of look wet then) and that keeps repeating itself randomly. Here are two screens. The first one in normal stage On this one you can see it's much shinier Here's the rvmat file: Reveal hidden contents ambient[]={1,1,1,1}; diffuse[]={1,1,1,1}; forcedDiffuse[]={0,0,0,0}; emmisive[]={0,0,0,1}; specular[]={1,1,1,1}; specularPower=100; PixelShaderID="Super"; VertexShaderID="Super"; class Stage1 { texture="len_afghan_army\data\ana_soldier_vest_nohq.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage2 { texture="#(argb,8,8,3)color(0.5,0.5,0.5,1,DT)"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage3 { texture="#(argb,8,8,3)color(0,0,0,0,MC)"; uvSource="tex1"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage4 { texture="len_afghan_army\data\ana_as.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; class Stage6 { texture="#(ai,64,64,1)fresnel(1,0.7)"; uvSource="none"; }; class Stage7 { texture="len_afghan_army\data\env_land_co.paa"; uvSource="tex"; class uvTransform { aside[]={1,0,0}; up[]={0,1,0}; dir[]={0,0,0}; pos[]={0,0,0}; }; }; Hope to get some feedback on this as it's halting my progress. Thanks in advance :) Share this post Link to post Share on other sites
rstratton 0 Posted July 2, 2010 your missing stage 5 specular map and class Stage1 { texture="len_afghan_army\data\ana_soldier_vest_noh q.paa"; Share this post Link to post Share on other sites
roberthammer 582 Posted July 2, 2010 rstratton said: your missing stage 5 specular mapand class Stage1 { texture="len_afghan_army\data\ana_soldier_vest_noh q.paa"; Yea , missing stage SMDI is the reason of flickering Share this post Link to post Share on other sites
lennard 447 Posted July 2, 2010 Still learning everyday, thanks guys. Will probably be able to solve it from here ;) Share this post Link to post Share on other sites