Topic: Lighting question

Hey, I'm making an immense game. I first had the idea to use one sun. But it's dark everywhere how can you improve this?

http://tinypic.com/view.php?pic=264q49k&s=6

Re: Lighting question

some of your objects seems to have their normals inverted.
also, set spot exponent to 0 and put the spot further with a bigger radius.

As your scene is outside, you should also use some emit in your material (grey/blue).

Re: Lighting question

That is much better. http://tinypic.com/view.php?pic=rhtir7&s=6

But still the factory is really dark. Any way to get around this?

Re: Lighting question

For the factory, i think that's the same problem than here : http://forum.maratis3d.com/viewtopic.php?id=474

Re: Lighting question

Thanks, that works to some part. Now my roof is black and my floor is white. Even though my lamp is above the factory. And the normals fine, what's up?

Lightning is really hard. smile

Last edited by Pär (2012-12-29 20:43:27)

Re: Lighting question

Your normals look inverted :

in blender, go to edit mode, select all, go to Mesh > Normals > Flip Normals

Re: Lighting question

I've flipped my normals but still it looks wierd. Are the normals too small in my model?

http://tinypic.com/view.php?pic=5jtkrk&s=6

Re: Lighting question

Hmm i suggest :
- Increase normals size in the right pannel to see what's going on
- Try "Recalculate" and then Flip normals again, Flip again if necessary

try to get all faces pointing to the exterior (or most of them), then flip the remaining faces manually
That shortcut might help you : Select a face -> Shift+G -> Select by normals

Re: Lighting question

http://tinypic.com/view.php?pic=dqix5t&s=6

I think my normals is looking fine. smile

Re: Lighting question

Weird, once your normals are correct and edge split modifier is applied, everything should be fine
Can you send me the model so i can see what's wrong ?

Re: Lighting question

Sure, I set my Edge split angle to 30 degrees. I actually don't know how to use the Edge split exactly.

http://www.mediafire.com/?z4frijt8151ip0c Here it is. smile

Re: Lighting question

I opened it, your object scale x is negative, that's why it revert the normals.

apply the transform first, recalculate the normals and you can use edge split :

http://www.maratis3d.com/tmp/blender.jpg

Re: Lighting question

ew. faster and clearer than me tongue

Re: Lighting question

Good work. smile Thanks for the help.

Re: Lighting question

I did this on the bridge, and it turned normal. The lightning worked on a little house with flat roof. But the other houses it did not work on. How do I check if the scale x factor is negative?

Edit: When you scale in blender you see if the scale factor turns negative in the lower left corner.

Last edited by Pär (2013-01-13 15:35:05)