Nearest thing I ever got to dynamic parameters in a shader was altering the alpha value of a screenspace effect over time. :|
On 27/08/07, Matt Stafford <[EMAIL PROTECTED]> wrote: > -- > [ Picked text/plain from multipart/alternative ] > This is the only way I know of also, and honestly its a terrible system to > try and make stuff work dynamically. > > On 8/27/07, Christopher Harris <[EMAIL PROTECTED]> wrote: > > > > I've often wondered about things such as this. Passing variables from the > > client to the shader dll so you can have things be dynamic. The only way I > > have been able to do it is have a parameter in the vmt (that I don't write > > in the vmt) that when loading shader for post process I get that vmt param > > and set it to my variables. > > > > Chris > > ----- Original Message ----- > > From: "Benjamin Davison" <[EMAIL PROTECTED]> > > To: <[email protected]> > > Sent: Sunday, August 26, 2007 5:16 PM > > Subject: Re: [hlcoders] Changing shader variable based on view exposure? > > > > > > > -- > > > [ Picked text/plain from multipart/alternative ] > > > Possibly something in the HDR solution? Maybe try looking for the > > tonemap > > > or > > > the histogram. > > > > > > On 8/26/07, Tobias Kammersgaard <[EMAIL PROTECTED]> wrote: > > >> > > >> -- > > >> [ Picked text/plain from multipart/alternative ] > > >> Hey! > > >> > > >> I've got the SDK shaders working and everything (yay!), and I'm > > currently > > >> trying to make my new postprocessing shader > > >> more dynamic. > > >> Let's say I want to change shader variables based on the exposure to > > the > > >> players view, anyone that can think > > >> of something SDK that either does that (detects the exposure), or could > > >> be > > >> used as a base for this? > > >> > > >> Thanks! > > >> > > >> /ProZak > > >> -- > > >> > > >> _______________________________________________ > > >> To unsubscribe, edit your list preferences, or view the list archives, > > >> please visit: > > >> http://list.valvesoftware.com/mailman/listinfo/hlcoders > > >> > > >> > > > > > > > > > -- > > > - Benjamin Davison > > > -- > > > > > > _______________________________________________ > > > 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 > > > > > > > -- > 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

