Game Development Community

C++ Shader GFX Commands Out of Date?

by Matt Vitelli · in Torque Game Engine Advanced · 03/23/2008 (6:23 pm) · 1 replies

With the new 1.7 update, it appears as if code that worked fine in the past no longer works. This is specifically aimed at the mShader->shader->process() command as well as the mShader->initShader() commands.

Here's a video of a day and night system I had working back in TGEA 1.2:
www.youtube.com/watch?v=Ou045QSC7B4

Now it appears as if the shader is not even being applied to the sky. I'm calling this in the renderSkyBox function, same as before, but no shader is being applied. Is this command out of date? What am I doing wrong?

#1
03/24/2008 (6:35 pm)
Most of the new stuff in TGEA 1.7 runs thru "Processed Materials" system. I noticed that too, when I was trying to re-hook up some of my material handling changes which use to call some of the initial shader commands on the materials.