Cunico 995 Posted February 19, 2014 I made a gas masks but I would like to make the lens reflective like the rest of things in the game has. I want a really dark reflective lens, but not sure how to go about doing it? I'm sure they have to have there own RVMAT but how do I get the reflections? Here is a picture Share this post Link to post Share on other sites
roberthammer 582 Posted February 20, 2014 Select the lenses add this rvmat to them class StageTI{ texture = "a3\data_f\default_ti_ca.paa"; }; ambient[] = {1,1,1,1}; diffuse[] = {1,1,1,1}; forcedDiffuse[] = {0,0,0,0}; emmisive[] = {0,0,0,0}; specular[] = {1,1,1,1}; specularPower = 180; PixelShaderID = "Super"; VertexShaderID = "Super"; renderFlags[] = {"NoZWrite"}; class Stage1 { texture = "your_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,0.5,DT)"; uvSource = "tex"; class uvTransform { aside[] = {5,0,0}; up[] = {0,5,0}; dir[] = {0,0,0}; pos[] = {0,0,0}; }; }; class Stage3 { texture = "#(argb,8,8,3)color(0,0,0,0,MC)"; uvSource = "tex"; class uvTransform { aside[] = {1,0,0}; up[] = {0,1,0}; dir[] = {0,0,0}; pos[] = {0,0,0}; }; }; class Stage4 { texture = "#(argb,8,8,3)color(1,1,1,1,AS)"; uvSource = "tex"; class uvTransform { aside[] = {1,0,0}; up[] = {0,1,0}; dir[] = {0,0,1}; pos[] = {0,0,1}; }; }; class Stage5 { texture = "yours_smdi.paa"; uvSource = "tex"; class uvTransform { aside[] = {1,0,0}; up[] = {0,1,0}; dir[] = {0,0,1}; pos[] = {0,0,1}; }; }; class Stage6 { texture = "#(ai,64,64,1)fresnel(1.1,0.4)"; uvSource = "none"; }; class Stage7 { texture = "a3\data_f\env_land_ca.paa"; uvSource = "none"; }; and then try to mess with specular[] and specularPower values Share this post Link to post Share on other sites
Cunico 995 Posted February 20, 2014 Thanks Robert, I ended up figuring it out. I didn't even have to do all that, but thanks for the help in writing or looking this up. I ended up just using the ones Arma 3 provides with the Heli Pilots helmets. Seems to work ok I guess . .. Share this post Link to post Share on other sites
Cunico 995 Posted March 5, 2014 Hey Robert, I know I fixed this issue with this gas mask, but I made another different one and I tried your above code but my lens are completely invisble as if I never made lens? any idea? Share this post Link to post Share on other sites
Cunico 995 Posted March 6, 2014 (edited) If I drop the item on the ground you can see that it has the reflective lens on it, but if you actually wear them you can't see anything at all as far as the lens go. Edited March 6, 2014 by Cunico Share this post Link to post Share on other sites