when using emt_solid i got light, ambient light.
as usual the other stuff on the map is affected by diffuse and specular bot no effect at all to the map...
This is because the BSP map loader, loads in the lightmap images that are created by the BSP complier. I'm not sure what you will have to do to remove the lightmaps (they might be stored in the 2nd material for the mesh), however, are you really sure you'd want to? BSP compliers usually run radiosity light calculations, which are a lot more realistic that current dynamic lighting.
rogerborg wrote:Every time someone learns to use a debugger, an angel gets their wings.
You could walk through the meshbuffers and change from LIGHTMAP_* to LIGHTMAP_LIGHTING_* materials. This will keep the lightmap effects, but also enable dynamic light effects. You cannot do this on the whole mesh, though, because there could also be some solid meshes.
Maybe you should use a point light, or use a direction which is not exactly orthogonal to the walls (e.g. -1,-1,1). Moreover, the range seems pretty large (and is completely useless for directional light). Also try to enable AmbientLight in the scene manager (this avoids completely black textures, too).
thx for all help, its up and running now. i will make a post containing our solution to the problem later in another thread so no one else has to go throu the process we just had to. like 8 hours of trial an error to get a simple light to work with a .bsp map...
I had a discussion with rogerborg ages ago. Go and read our discussion regarding his light manager. For example, your lights will bleed through walls unless you only draw the N faces visible to light L and facing it. A bsp tree may be helpful...
sio2 wrote:I had a discussion with rogerborg ages ago. Go and read our discussion regarding his light manager. For example, your lights will bleed through walls unless you only draw the N faces visible to light L and facing it. A bsp tree may be helpful...
Ok, that sounds very advanced and i dont think thats something ill manage to do! (Cant find your old discussion...)
What about using another format, like irrEdit, can that solve my problem?