Lighting Fixes

I had some very strange lighting going on in my hub, my point light solution was not a good one, so I replaced it with a directional light and a script that turns on and off the directional lights depending on which area the player is in. Kicking myself for not making the hub and level separate now that I’m familiar with casting, but its too late now.

lighting lighting2

I added a set visibility function to each of the switch branches, turning on the main level light. I then turned this off when the player uses the exit trigger. The lighting is consistent in the hub now, and it really makes the coloured leaves on the tree stand out.


Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google+ photo

You are commenting using your Google+ account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )


Connecting to %s