Sign in to follow this  
trozen

Lighting technique in The Sims 3

Recommended Posts

trozen    225

I was watching my girlfriend play the Sims 3 and the specular reflections on the fridge caught my eye. The shiny material appears to have diffuse interreflection from the rest of the room. I had her change the wallpaper a few times and the reflection certainly changes- leading me to believe its not baked in. Here are a few screenshots of said fridge. It might be a really simple or well known technique, but I am curious how this is done? I did notice that it will take a few frames for the fridges to respond to environment changes, my guess is some sort of realtime light probe at the fridges location?

Share this post


Link to post
Share on other sites
cowsarenotevil    3003

Your guess sounds pretty good; MJP's post at the end of this thread covered all of the techniques I was aware of as well as some I wasn't, so it may be helpful to you.

 

I wonder if maybe the light environment isn't calculated in the center of the "room" rather than at the location of the fridge itself; since the scene probably breaks down fairly naturally into different rooms, this might be a way to avoid having to calculate a light environment for every single object. This could also potentially explain why it takes a few frames to respond: if the light environment for a different room is calculated on each frame, it'd be much faster than doing it for every room every frame, and the amount of time taken would still be quite consistent across frames (although I suppose this could be the case if the light environment for a different object is calculated each frame as well). Does the lighting happen to "pop" at all if you drag the refrigerator from one room to another?

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this