Arma 3
RVMAT Issue
Alright, so I am having some issues with some RVMAT's and I was wondering if anyone here could help. So the issue at hand is that in the day time the RVMAT is fine, but when the vehicle comes into contact with a shadow/night time, the RVMAT disappears and it just shows the base color of the vehicle. I'll post some of the configs down here and maybe you guys could help me out. I'm looking for it to not be a matte color/black when its in the shadows. I'm not sure if you can change it where shadows/moonlight display the same effect as sunlight, so if anyone could help, im open for suggestions.

Config for the vehicle:

hiddenSelections[]=
{
"camo1"
};
hiddenSelectionsTextures[]=
{
"#(argb,8,8,3)color(0.33,0.05,0.56,1,CO)"
};
hiddenSelectionsMaterials[]=
{
"Urbanized_G65\rvmats\blueP.rvmat",
};

RVMAT:

ambient[]={1,1,1,0};
diffuse[]={1,1,1,0};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,1,1,0};
specularPower=25;
renderFlags[]=
{
"NoAlphaWrite"
};
PixelShaderID="Glass";
VertexShaderID="Glass";
class Stage1
{
texture="#(argb,8,8,3)color(1,1,1,0.9)";
uvSource="none";
};
class Stage2
{
texture="A3\data_f\env_land_co.paa";
uvSource="none";
};

Pictures of the problem:
http://imgur.com/a/v6maS
(If you don't wanna click the link, check my Screenshots.)

If anyone could help, feel free to add me and we can talk TS.
< >
Показані коментарі 11 із 1
I dunno if this will help you, but it helped me with rvmats on the terrain i'm working on.
https://community.bistudio.com/wiki/RVMAT_basics
< >
Показані коментарі 11 із 1
На сторінку: 1530 50

Опубліковано: 17 квіт. 2017 о 17:23
Дописів: 1