Jump to content
Invincible120

Custom facewear lighting sensitivity and shadow issue

Recommended Posts

I m making a balaclava mod. Everything done except texturing. My issue: Parts which are the taking light, as what i want, its looking okay. But parts which are the not taking light they're so dark as its should not to be.

In-game photo: https://prnt.sc/tey21i

My rvmat:

class StageTI
{
	texture="balaclava\textures\balaclava_ca.paa";
};
ambient[] = {1,1,1,1};
diffuse[] = {1,1,1,1};
forcedDiffuse[] = {0,0,0,0};
emmisive[] = {0,0,0,1};
specular[] = {0.5,0.5,0.5,0};
specularPower = 150;
PixelShaderID="Super";
VertexShaderID="Super";
class Stage1
{
	texture="balaclava\textures\balaclava_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="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};
class Stage4
{
	texture="balaclava\textures\balaclava_as.paa";
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};
class Stage5
{
	texture="";
	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.3)";
	uvSource="none";
};
class Stage7
{
	texture="a3\data_f\env_land_ca.paa";
	useWorldEnvMap="true";
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};

You can tell me if any file missing to find solution. I m waiting for replies...

Share this post


Link to post
Share on other sites

Try adding an _SMDI texture to stage 5 of your RVMAT.

Stage 7 should also be _co.paa not _ca.paa

Also your "specularPower = 150;" seems rather high unless you're making a metallic/chrome looking balaclava. Try changing it to ~50

Share this post


Link to post
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now

×