Shaders?
by Gabriel De Repentigny · in Torque Game Engine · 10/07/2003 (1:24 pm) · 2 replies
Hey there,
has anyone tried implementing shaders in torque? using CG or OpenGL extenstions? anyone know how hard this would be?
has anyone tried implementing shaders in torque? using CG or OpenGL extenstions? anyone know how hard this would be?
About the author
#2
http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4660
10/07/2003 (5:58 pm)
Chris "Hobbiticus" Weiland has/is impementing CG.http://www.garagegames.com/index.php?sec=mg&mod=resource&page=view&qid=4660
Torque Owner Fenrir Wolf
Now, getting the shaders to work with Torque's lighting system is the main issue. More than likely I would just redo it all and use my own model.
Implementing shader support would require adding it to the various components (3space objects, interiors, etc.) that you want to support shaders, so having a good understanding of how they all work together would be necessary. You'd need to add the additional data (for normals, bumping, etc.) on top of what is stored for standard .dts/.dif/etc.