Question regarding Toon Shaders
by David Horn · in Torque X 3D · 07/01/2009 (4:16 pm) · 2 replies
I have a question regarding shaders.
I want my new game to be cell shaded.
I got this tutorial from the following link...
http://forums.xna.com/forums/t/27849.aspx
My question is.. before I dive into the toon shading on the xna side, does torque x 3D have (or plan to have) and "easy" method of changing the shader of a model or of a level to 'toon shading?
Thanks
I want my new game to be cell shaded.
I got this tutorial from the following link...
http://forums.xna.com/forums/t/27849.aspx
My question is.. before I dive into the toon shading on the xna side, does torque x 3D have (or plan to have) and "easy" method of changing the shader of a model or of a level to 'toon shading?
Thanks
About the author
#2
EDIT - this should be moved to TX2D forum, but I don't know how?
I see how you do it in xml...
http://tdn.garagegames.com/wiki/TorqueX/CustomMaterials
but how do you do it via code?
I can get the material list and individual materials in my T2DShape3D object, but they don't seem to have any "type" property?
I'm assuming you have to create a new SimpleMaterial, but how can I relate that to the materials in my T2DShape3D?
07/26/2009 (1:14 pm)
EDIT - this should be moved to TX2D forum, but I don't know how?
I see how you do it in xml...
http://tdn.garagegames.com/wiki/TorqueX/CustomMaterials
but how do you do it via code?
I can get the material list and individual materials in my T2DShape3D object, but they don't seem to have any "type" property?
I'm assuming you have to create a new SimpleMaterial, but how can I relate that to the materials in my T2DShape3D?
Torque Owner Alan Uthoff
Alan
Perfect Dork Studios