HEK: Adding lights to levels
Posted: Sun May 28, 2006 12:09 am
This is a very simple task but alotta ppl dont know it so im here to help clear up how to do this.
Open up your level in 3ds max. Create a new material and add the render only attribute (!) to the end of the material name. now, create a small plane that is the size of your light. Place the light just slightly off of the surface u want it on and apply the light material you made. Copy that face and keep placing new ones where you need lights. make sure the planes r facing the area it is meant to light up. now that u have planes where your lights should be, link the lights to the frame and create the bitmap tags with tool.
now open any light shader_transparent_chicago (theres one in the tutorial file) into guerilla and save that as the name of your light material. now scroll down and edit the bitmap so it points to your light bitmap. you can change the color of emitted light or how bright the light is too.
now when u compile the structure and load the map into Sapien, the lights should be lighting up its surroundings.
Open up your level in 3ds max. Create a new material and add the render only attribute (!) to the end of the material name. now, create a small plane that is the size of your light. Place the light just slightly off of the surface u want it on and apply the light material you made. Copy that face and keep placing new ones where you need lights. make sure the planes r facing the area it is meant to light up. now that u have planes where your lights should be, link the lights to the frame and create the bitmap tags with tool.
now open any light shader_transparent_chicago (theres one in the tutorial file) into guerilla and save that as the name of your light material. now scroll down and edit the bitmap so it points to your light bitmap. you can change the color of emitted light or how bright the light is too.
now when u compile the structure and load the map into Sapien, the lights should be lighting up its surroundings.