[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 368: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
[phpBB Debug] PHP Warning: in file [ROOT]/includes/bbcode.php on line 368: preg_replace(): The /e modifier is no longer supported, use preg_replace_callback instead
Custom Map Makers • Baking Animated Textures
Page 1 of 1

Baking Animated Textures

Posted: Mon Nov 26, 2012 12:33 am
by KroniK
Hey guys,

Does anyone know if there is a way to bake animated textures into a map?

Example: Disco ball in the center of a room and having the lights spin around the walls.

I had just thought of this Idea and figured that baking the texture would allow you to add couches and furnature to the room and let the disco ball's light fall dynamically onto those surfaces.

Example 2: spot light swinging back and forth across buildings

Anyway Food for thought.

Re: Baking Animated Textures

Posted: Mon Nov 26, 2012 9:46 am
by johnnyenglish
Well look at this from 17 seconds and it does something similar


Re: Baking Animated Textures

Posted: Tue Nov 27, 2012 3:38 pm
by Rayne
It's definitely doable, but not advisable.
In order to make this work you'd have to bake shadows and textures for every single step.
Basically you'd be animating the light in an entire room one frame at a time. The amount of textures needed would raise the pk3 size so much, it just wouldn't be worth it.