I am currently working on a game where i need to be able to show the lightmap texture, then hide it. I need to do this everyframe. What would be the quickest way to do this? I figure i have a few options:
1. Create an identical scene, one with a lightmap and one without. Since i'll be instancing the whole scene, it shouldn't take up that much more memory.
2. I go through every entity in view of the camera, and texture each one with a blank lightmap (127,127,127)
3. er... well, i did say i only had a few ;o)
1. Create an identical scene, one with a lightmap and one without. Since i'll be instancing the whole scene, it shouldn't take up that much more memory.
2. I go through every entity in view of the camera, and texture each one with a blank lightmap (127,127,127)
3. er... well, i did say i only had a few ;o)