Jump to content
[evo] dan

Texture Showing as Transparent

Recommended Posts

Hi all,

 

I've copied an rvmat and renamed it to match my new model but when I load it into the game, the colour shows up correctly, but I can see the ground through the model.

 

I haven't changed anything in my rvmat but I suspect its something to do with it.

 

here is my rvmat:

ambient[]={1,1,1,1};
diffuse[]={1,1,1,1};
forcedDiffuse[]={0,0,0,0};
emmisive[]={0,0,0,0};
specular[]={0,0,0,0};
specularPower=0.05;
PixelShaderID="Normal";
VertexShaderID="Basic";
fresnel(7.53,5.44);

Could it be that its not assigned the rvmat correctly? I can see it in object builder though.

 

 

Share this post


Link to post
Share on other sites
On ‎26‎/‎08‎/‎2018 at 10:26 PM, m1lkm8n said:

Select the transparent texture and move it to the top 

I have no transparent texture and I don't want one. or could it be because the second barrel doesn't have its texture yet?

 

Here is a picture of what I mean:

 

https://steamcommunity.com/sharedfiles/filedetails/?id=1494205398

 

Share this post


Link to post
Share on other sites

If they are barrels try grabbing the rvmat for a barrel from a3. See if that helps. 

Share this post


Link to post
Share on other sites
13 hours ago, m1lkm8n said:

If they are barrels try grabbing the rvmat for a barrel from a3. See if that helps. 

I had a thought of maybe they are reflecting stuff, i'll give it a try later.

Share this post


Link to post
Share on other sites

I tried making the background of the image black, seemed to fix most of it so I guess its the shader i'm using that's using some sort of transparent shading.

Share this post


Link to post
Share on other sites

Have you saved your texture on them with the right texture suffix _CO? does your texture have any transparency to it at all or alpha layer?

 

In your picture on the right the middle part of the barrel is seethrough.

 

You must not combine transparent and non transparent areas in same texture

 

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

×