Lighing a cube
Blitz3D Forums/Blitz3D Programming/Lighing a cube
| ||
Why is it when I light a cube it lights either triangle? Is there a nicer way to get it to light the cube face in realtime, more sort of dithered lighting? |
| ||
As far as I know, you would need to increase the polycount of the cube. |
| ||
It's because the real time lights in blitz only light on a triangle (or vertex??) basis. If the light is a static one and the model will never model, you can apply a lightmap to it. Basically a texture that has light and dark parts on it to represent the light. There are quite a few lightmappers around. Gile[s] is one. Check the User Creations Forum :) |
| ||
I want my player to be holding a torch. I don't think a light mapper will work there will it? |
| ||
Well, Halo (intercept), was using lightmaps to light is levels in real-time. Pretty complicated me thinks tho :) Best just upping the poly-count a bit on the things you wanna light :D |