Author Topic: Terrible lighting issues [Blender]  (Read 617 times)

I'm improving my grenade's model, but I just can't figure out how to do something. Look at the attached in-game picture.

The lighting is so bad the faces look like they're attached to each other. In the normal object mode (the other attached picture), not textured or shading, the grenade looks good.

What's going on?

It looks like this because it is smooth-shaded. You should flat-shade it.

It looks like this because it is smooth-shaded. You should flat-shade it.
Okay, I see "set smooth" and "set solid". I tried both and apparently it was already "solid" shaded. Is that the same thing, or am I missing something?

pressing "setSolid" flatshades it.

The things I think this could be because:
UV texture
Normals are off
Lighting is messed up due to object mode scaling.

The things I think this could be because:
UV texture
Normals are off
Lighting is messed up due to object mode scaling.
If any of those are what went wrong, how do I tell and how do I fix them?

If any of those are what went wrong, how do I tell and how do I fix them?
Add a light to the scene and go into texture mode. If there are any "holes" in your model, go into edit mode and face select mode. Select the faces and hit ctrl f- flip normals. For the UV tex, hit F9 (editing window) and where it says
texmesh:
sticky
UV texture
vertex color.
If it has a UV texture, under where it says UV texture, there will be something saying UVtex. Delete that.

To fix lighting, go into object mode and add a cube. Select one part of your model and then select the cube. Hit ctrl j and join the one part to the cube. Go into edit mode and delete the cube. Then go back to object mode, add a new cube, and repeat with a different part of your model.

Add a light to the scene and go into texture mode. If there are any "holes" in your model, go into edit mode and face select mode. Select the faces and hit ctrl f- flip normals. For the UV tex, hit F9 (editing window) and where it says
texmesh:
sticky
UV texture
vertex color.
If it has a UV texture, under where it says UV texture, there will be something saying UVtex. Delete that.

To fix lighting, go into object mode and add a cube. Select one part of your model and then select the cube. Hit ctrl j and join the one part to the cube. Go into edit mode and delete the cube. Then go back to object mode, add a new cube, and repeat with a different part of your model.
I know about reversing faces. I tried using that cube trick. And the Uvtex part is needed if there's going to be a texture. Therefore, if I delete it, the model's color disappears. None of that worked