Lighting characters
Blitz3D Forums/Blitz3D Programming/Lighting characters
| ||
How do i light an entity based on a lightmap? i.e if its in a shadow then it appears darker. (i tried using a line pick to get the vertex below an entity and then getting the U.V co-ordinates of the lightmap but i cant get it to work properly) |
| ||
In the code archives is a find-the-colour-of-the-lightmap-under-a-specific-point snippet... I think my Fredborg... but I could be wrong... You'll have to have a route around. |
| ||
That code is definately in the Archives, maybe under PickedU() or PickedV() |
| ||
Found it, thanx guys it should do what i need. here's the link for anyone else that needs it: http://www.blitzbasic.com/codearcs/codearcs.php?code=515 |