Uniform Variables
by Anthony Rosenbaum · in Torque Game Engine Advanced · 09/04/2004 (6:29 am) · 1 replies
Ok with some small progress toward making a shader library (see my brick shader), I started thinking. Althought it is a very usefull idea to have a "brick shader" but what good is it if everything looks the same.
So I was thinking could it be possible to create an interface in the mission editor that would allow shader's uniform variables to be set on a per object basis?
I think this per object approach is the most functional approach, it also would allow artist/level designers a capablitiy of useing the shaders without distubing the code.
With IGC rapidly approaching I would like to ask Ben, and Brian where would be a good place to start?
With any luck I will have some type of prototype by IGC.
So I was thinking could it be possible to create an interface in the mission editor that would allow shader's uniform variables to be set on a per object basis?
I think this per object approach is the most functional approach, it also would allow artist/level designers a capablitiy of useing the shaders without distubing the code.
With IGC rapidly approaching I would like to ask Ben, and Brian where would be a good place to start?
With any luck I will have some type of prototype by IGC.
About the author
Associate Kyle Carter
Once you have that prototyped you can figure out how to integrate it with existing infrastructure.