How can I add lighting to a scene with a mesh, proceduraly created at runtime? The mesh has to be semi-transparent, something like colored glass.
If I don't set the ambient light, the part of the mesh that isn't lightend remains black. I want the black to be transparent. How?
Adding light to scene?
-
- Posts: 17
- Joined: Thu Jan 15, 2004 10:19 am
- Location: Brussels
- Contact: