Jump to content
daringd

black shadows in BD

Recommended Posts

I've been working on a new building after some years of being away, and I'm having terrible trouble with using a Multimaterial RVMAT.

 

I'm finding that the shadows are coming out completely black as though there was no ambient light, I've gone over my RVMAT a few times (some of the stages are not using the correct files for now, but I have never had this problem before.

Here is the RVMAT (I know some of the files don't match up, but this should just look messy until I drop the correct files in, not totally screw it up unless not being able to find some of these files leads to this exact problem?)

 

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=60.200001;
PixelShaderID="Multi";
VertexShaderID="Multi";
class TexGen0
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen1
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen2
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen3
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen4
{
	uvSource="tex1";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen5
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen6
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={1,0,0};
		up[]={0,1,0};
		dir[]={0,0,1};
		pos[]={0,0,0};
	};
};
class TexGen7
{
	uvSource="tex";
	class uvTransform
	{
		aside[]={10,0,0};
		up[]={0,10,0};
		dir[]={0,0,0};
		pos[]={0,0,0};
	};
};
class Stage0
{
	texture="P:\BWI\BWI_Data\motel_wallpaper_co.paa";
	texGen="0";
};
class Stage1
{
	texture="P:\a3\structures_f\data\Tile\Tile_04a_CO.paa";
	texGen="1";
	Filter="Trilinear";
};
class Stage2
{
	texture="P:\BWI\BWI_Data\BWI_Barracks_plaster_int_CO.paa";
	texGen="2";
};
class Stage3
{
	texture="2017\a2_buildings_2017\Industrial\data\concrete\concretebroken_02_co.paa";
	texGen="3";
};
class Stage4
{
	texture="P:\BWI\BWI_Buildings\Motel\Data\Motel_internal_mask.paa";
	texGen="4";
};
class Stage5
{
	texture="#(argb,8,8,3)color(0.5,0,1,1,DTSMDI)";
	texGen="5";
};
class Stage6
{
	texture="#(argb,8,8,3)color(0.5,0,1,1,DTSMDI)";
	texGen="6";
};
class Stage7
{
	texture="#(argb,8,8,3)color(0.5,0,1,1,DTSMDI)";
	texGen="7";
};
class Stage8
{
	texture="#(argb,8,8,3)color(0.5,0,1,1,DTSMDI)";
	texGen="3";
};
class Stage9
{
	texture="2017\a2_buildings_2017\Industrial\data\ind_expedice1_mc.paa";
	texGen="4";
};
class Stage10
{
	texture="2017\a2_buildings_2017\Industrial\data\ind_expedice1_ads.paa";
	texGen="4";
};
class Stage11
{
	texture="P:\BWI\BWI_Data\motel_wallpaper_NOHQ.paa";
	texGen="0";
};
class Stage12
{
	texture="P:\a3\structures_f\data\Tile\Tile_04_NOHQ.paa";
	texGen="1";
};
class Stage13
{
	texture="P:\BWI\BWI_Data\BWI_Barracks_plaster_int_NOHQ.paa";
	texGen="2";
};
class Stage14
{
	texture="2017\a2_buildings_2017\Industrial\data\concrete\concretebroken_02_nohq.paa";
	texGen="3";
};

and here is an image of what I am seeing

 

TndpOEd.png

 

Any help would be amazing

 

If anyone wants prints of this VERY modern bamboo wallpaper then let me know...  

 

D

Share this post


Link to post
Share on other sites
6 minutes ago, daringd said:

(I know some of the files don't match up, but this should just look messy until I drop the correct files in, not totally screw it up unless not being able to find some of these files leads to this exact problem?)

so I answered my own question...  missing files will cause this

 

I'm an idioit, sorry.

 

At least if anyone else has this problem you now have the solution, make sure all files in the RVMAT are there

 

D

  • Thanks 1

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

×