Public Group

# lighting

This topic is 3967 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

## Recommended Posts

I was thinking if its a good idea (or something like this already exists) to make a lightmap in the runtime from shadows and dinamic lights for an object thats lets say farther. For example I need dinamic lighting and shadows on a defined area near the player. The objects that are too far doesnt need realtime computation of lightshould use the lightmap Any hint ? Its a good idea ?

##### Share on other sites
umm computing lightmaps isnt usually real time task(which is an advantage, during runtime "computing" shadows from lightmaps is usually very cheap). take a look at how gothic 3 is doing it. it uses lightmaps as any other game(on every distance), plus it makes dynamic shadows on certain distance to player(using shadow map).

also note that writing a code that makes (nice) lightmaps isnt easy. read something about it.

1. 1
2. 2
Rutin
19
3. 3
4. 4
5. 5

• 9
• 9
• 9
• 14
• 12
• ### Forum Statistics

• Total Topics
633287
• Total Posts
3011217
• ### Who's Online (See full list)

There are no registered users currently online

×