Any valve input on 3D texture samplers? I know VTF is supposed to support multiframe, but I've yet to find a way to create a multi-frame VTF. Which in turn makes me fear for support for binding it to a sampler :)
I guess I'll transform the animated texture in a bigger one and fake the animation with UV offsetting, that should work ( at the cost of some performance ). > -- > [ Picked text/plain from multipart/alternative ] > Shader functions like that aren't engine-dependent. That is, you use the > tex3D function on a sampler like normal. Its just what you pass to that > sampler thats the problem > The support for binding a 3d texture to that sampler from the shader DLL > would be the issue thuough > > On 9/11/07, [EMAIL PROTECTED] <[EMAIL PROTECTED]> wrote: >> >> So, next question on shaders. >> >> I'd like to use an animated noise texture as input in one of my pixel >> shaders. Is it possible to use tex3d on Source? And if so, how do I >> create >> a sampler with the 3d texture in it? >> >> [ I've looked around, but haven't found any source examples. With a >> regular .fx you'd declare the texture & sampler on the fly, but I'm not >> sure how to do it with the Source system. I'm kinda hoping it suffices >> to >> create a multi-frame VTF, and that this is directly indexable with tex3D >> ? >> ] >> >> Thanks in advance for any help, >> >> -- Maarten >> >> >> _______________________________________________ >> To unsubscribe, edit your list preferences, or view the list archives, >> please visit: >> http://list.valvesoftware.com/mailman/listinfo/hlcoders >> >> > > > -- > Matt Stafford (Wraiyth) > http://www.wraiyth.com > NightFall HL2 Mod - http://www.nightfallmod.com > -- > > _______________________________________________ > To unsubscribe, edit your list preferences, or view the list archives, > please visit: > http://list.valvesoftware.com/mailman/listinfo/hlcoders > > > _______________________________________________ To unsubscribe, edit your list preferences, or view the list archives, please visit: http://list.valvesoftware.com/mailman/listinfo/hlcoders

