SC4 Devotion Forum Archives

SimCity 4 General Discussion and Tutorials => SimCity 4 General Discussion => General Custom Content Discussion => Topic started by: XiahouDun on June 23, 2010, 07:41:19 PM

Title: Exclusion in BAT4GMAX
Post by: XiahouDun on June 23, 2010, 07:41:19 PM
Copying this from my development thread:

So I'm playing around in the BAT and having an issue with night lighting. I've set the lighting in this picture to exclude the grey rectangle, but at you can see its still being lit up. To clarify, I am using BAT4GMAX that was packed with BAT4MAX 4.5 (if that helps any). Its their something I'm missing? :-[
(https://www.sc4devotion.com/forums/proxy.php?request=http%3A%2F%2Fimg.photobucket.com%2Falbums%2Fv151%2Fphoenixcaptain%2FSC4%2Fnightlightingissue.jpg&hash=322d4cd33c66e265a42915b16a59632b47d8414d)
Title: Re: Exclusion in BAT4GMAX
Post by: joelyboy911 on June 23, 2010, 09:00:11 PM
If I recall correctly, the exclude/include function is broken for gmax. If you want to stop the light getting to it, you can make a plane, give it a texture that's completely transparent, and if 'Cast Shadows' is set, it will block light from hitting the grey box.
Title: Re: Exclusion in BAT4GMAX
Post by: XiahouDun on June 23, 2010, 11:34:46 PM
Thats a good tip that works in theory, but when I applied it to the model it didn't work out properly. I made the plane and give it a texture with an opacity of 0. And while it is blocking out the nightlighting, it is now blocking out the lighting from GMAX as well, so the wall behind it is being tinted darker.

I assume to get this to work how I want, I'll have to do the model in Max?