Jump to content
🛡️FORUMS ARE IN READ-ONLY MODE Read more... ×
Sign in to follow this  
jezpops

Unlit buildings

Recommended Posts

Can anybody give me a step by step explanation on how i can make some parts of the inside of building darker/unlit?

Thanks in advance

Share this post


Link to post
Share on other sites

open your model in o2

select your faces go from menu

points->properties (or shift+e from your keyboard) in the pop up check "always in shadow" option

Share this post


Link to post
Share on other sites

Thanks for the reply, i tried this but it seems to have no effect. I read that this is now obsolete and i have to do something with the rvmat files which is where i got lost!

Share this post


Link to post
Share on other sites
Quote[/b] ]ambient[]={0.875000,0.875000,0.875000,0.880000};

diffuse[]={0.875000,0.875000,0.875000,0.880000};

forcedDiffuse[]={0.500000,0.500000,0.500000,0.500000};

emmisive[]={0.000000,0.000000,0.000000,1.000000};

specular[]={0.100000,0.100000,0.100000,1.000000};

specularPower=60.000000;

PixelShaderID="NormalMapSpecularMap";

VertexShaderID="NormalMap";

class Stage0

{

texture="PATH\TEXTURE_CO.paa";

uvSource="tex";

};

class Stage1

{

texture="PATH\TEXTURE_NOHQ.paa";

uvSource="tex";

class uvTransform

{

aside[]={1.000000,0.000000,0.000000};

up[]={0.000000,1.000000,0.000000};

dir[]={0.000000,0.000000,0.000000};

pos[]={0.000000,0.000000,0.000000};

};

};

class Stage2

{

texture="PATH\TEXTURE_SM.paa";

uvSource="tex";

class uvTransform

{

aside[]={1.000000,0.000000,0.000000};

up[]={0.000000,1.000000,0.000000};

dir[]={0.000000,0.000000,0.000000};

pos[]={0.000000,0.000000,0.000000};

};

};

xmas_o.gif ?

Share this post


Link to post
Share on other sites

You need a shodow LOD for the building model. The self-shadowning will darken the inside.

Share this post


Link to post
Share on other sites

Thanks guys will give this a try...stuck on something else at the moment, more to do with visitor than this forum.

Share this post


Link to post
Share on other sites

So can you make a the ground textures not react to (sun)light

with a rvmat?

Share this post


Link to post
Share on other sites
So can you make a the ground textures not react to (sun)light

with a rvmat?

yes, open the RVMAT with the mateditor, then add the predefined flag:

AlwaysInShadow

the old way (via Oxygen) doen't work anymore

Share this post


Link to post
Share on other sites

I have tried the above methods and i do get shadows but still the room is not dark enough, its supposed to represent an underground bunker and all the shadows do is represent where the sunlight hits it at an angle which would never happen as its underground - is there another way to darken the room and tunnels?

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
Sign in to follow this  

×