• Animatable Cubemaps?
    6 replies, posted
I couldn't help but notice the command on the VDC site https://developer.valvesoftware.com/wiki/$envmap [code] $envmapframe <int> The frame to start an animated cubemap on. [/code] Does anyone know how to create an animatable cubemap? or what the purpose of this is?
You should be able to change the envmapframe with a proxy.
[QUOTE=wraithcat;36665954]You should be able to change the envmapframe with a proxy.[/QUOTE] Any idea how it would be scripted? Something like this? [code] "Proxies" { "AnimatedTexture" { "animatedTextureVar" "$envmap" "animatedTextureFrameNumVar" "$frame" "animatedTextureFrameRate" "1" } } [/code]
[QUOTE=cra0kalo;36672576]Any idea how it would be scripted? Something like this? [code] "Proxies" { "AnimatedTexture" { "animatedTextureVar" "$envmap" "animatedTextureFrameNumVar" "$frame" "animatedTextureFrameRate" "1" } } [/code][/QUOTE] Try [code] "Proxies" { "AnimatedTexture" { "animatedtexturevar" "$envmap" "animatedtextureframenumvar" "$envmapframe" "animatedtextureframerate" 12 } } "$model" 1 } [/code]
[QUOTE=wraithcat;36681235]Try [code] "Proxies" { "AnimatedTexture" { "animatedtexturevar" "$envmap" "animatedtextureframenumvar" "$envmapframe" "animatedtextureframerate" 12 } } "$model" 1 } [/code][/QUOTE] I don't see how I could make one of these :( [IMG]http://puu.sh/HlnM[/IMG]
The problem is that the vtf container stores multiple textures as either skybox textures [i]or[/i] animated textures. To the best of my knowledge, you cannot do both.
So you have to choose if you wanna have frames for animation or a 6 sided cubemap. Maybe this is just a left over from development.
Sorry, you need to Log In to post a reply to this thread.