Game Development Community

Torque indie and shaders

by Bullitt Sesariza · in Torque Game Engine · 10/24/2007 (1:39 pm) · 5 replies

Hi, just wanted to ask a quick one. Can I implement a shader language, eg. HLSL / GLSL / Cg, with Torque? Are there any resources regarding this? I wanted to implement my own shaders to the game I'm creating. Thanks in advance.

#1
10/24/2007 (1:51 pm)
You can get the Torque Modernization Kit here: tmk.superiorcode.com/
(Login and pass found here: www.garagegames.com/mg/forums/result.thread.php?qt=63991, only licensees can get it)

The other (and better) option, would be to use TGEA, since it is designed for use with shaders.
#2
10/24/2007 (8:08 pm)
I see. Thanks. Will look over it in a sec.

EDIT: BTW, one more question. Is cel-shading already implemented in TGE / TGEA or do I have to make my own cel-shading function?

Thanks again.
#3
10/25/2007 (8:52 am)
You will have to implement it in TGE.

It is much easier to do with shaders in TGEA, though.
#4
10/25/2007 (10:35 pm)
Hi David,


You said 'It is much easier to do with shaders in TGEA, though'

show me how?
#5
10/26/2007 (7:44 am)
Well, for one, it is already a part of the core engine. With TGE you will have to 1) implement the modernization kit and 2) roll your own and integrate them into the engine for anything not supplied by the mod. kit.

So, you can either use built-in shader tech (TGEA) or roll your own (TGE). To roll your own, you will have to have intimate knowledge of 1) shader hardware, 2) shader libraries whether DX or GL based, TGE, and C++.

TGEA - shaders included. Little work.
TGE - shaders would have to be added in. A huge amount of work.