I have a scene of a plane and a model i made as the actor to move. I uv textured them and that works good. However I put a spotlight in, aimed it down at the scene, set all faces of all models to light in paint mode, but it just darkens the scene, no realistic looking lighting, real flat. I checked out a radiosity demo from zer0’d which has the look I need, with soft lights and shadows on geometry, but it had no collision. I dont know if this haad to do with the radiosity or what but I keep hearing about “vertex coloring” or something and I cant find this in the gameblender docs. Please help me with maybe an example or link to a tute or something. I reallly want to make nice looking rooms with decent mood lights. Thanks
light should work fine, if it’s too dark just add more lamps or move the energy bar up, shadows don’t work in the game engine ~_~
Ok, so here is the problem:
if you use lamps for dynamic lighting the vertex colors specify the BRIGHTEST the mesh can be at that vertex (ignoring specular highlights which I try to avoid in the game engine because they look so bad)
the way the lighting and vertex colors combined are they are multiplied (if you use layers a lot in photoshop or similar you know what I mean by multiply, in short it makes things white only if both are white, otherwise things become darker)
so, when you add a lamp things become at most as bright as the vertex colors. It is probably much easier to get a mood with only vertex colors, and no dynamic lighting.
radiosity is fickle, as scenes get larger settings must change and it is difficult to check the entire scene at once or fix little things. (I probably need to put more online about radiosity for the game engine…)
Also, a spotlight will not just automatically make a circle on your ground. If you’re trying to make some sort of light circle on the ground, subdivide your plane a bunch for the light to be able to spread itself around.
Make sure your normals are pointed towards the light. Try clicking “flip normals” in the editbuttons, if the normals aren’t pointed towards the light they won’t receive any light. Another way to do this is to go into editmode, select all vertices, and then hit ctrl-a or ctrl-alt-a, and see if it works.
Hope that helps,
Pooba
Thanks for the replies, i kinda see that most of you dont like using lights, but rather vertex coloring for shading. This is where my problem lies. I believe you guys, i just dont know squat about vertex coloring and how to do it. I looked all through the game docs, but found nothing. If someone could post a quick step by step to get me rolling that would be cool. Thanks for your time
Let’s go.
- Add a cube (like the last time
) then press F key (face select)
- Between the world button and the radiosity button, there’s
the paint button. So click the paint button (i don’t remember the shortcut)
At right you’ve got color’s sliders, opacity and size of the brush.
3.So, move G(reen) an B(lue) sliders to 0 and keep R(ed) to 1. - Press now V key.That’it, youre in vertexpaint mode !
- Paint over the cube.
- Don’t forget to press V key to quit vertexpaint mode then F key
to quit face select mode.
Must be ok…