Custom Material Question
by Gary Hoffmann · in Torque 3D Professional · 06/30/2009 (9:58 pm) · 1 replies
I'm using a custom material because I have some specialized shaders I need to run. I have everything working great with a single pass.
Now I need to add a simple second pass to the material but I can't figure out how (I'm guessing I need to do something with the target field). So, how do I add additional passes to a CustomMaterial?
Now I need to add a simple second pass to the material but I can't figure out how (I'm guessing I need to do something with the target field). So, how do I add additional passes to a CustomMaterial?
Associate Tom Spilman
Sickhead Games
There are some hacks out there to do this, but IMO we need a bigger refactor of CustomMaterial so that you can specify one ShaderData and set of textures per pass.