Custom Shaders
by Doug Barnes · in Torque X 2D · 01/05/2009 (9:48 am) · 0 replies
Hello Everyone,
I am having some problems implementing a shader I wrote. Basically what I need to do is apply the shader I wrote in code a T2DShape3D model. So that at draw time the custom shader is using instead of the default one. I found where the default XNABasicEffect is being added to the model but the problem is that I don't want to modify engine code to apply my shader.
Any help would be greatly appreciated,
Doug
I am having some problems implementing a shader I wrote. Basically what I need to do is apply the shader I wrote in code a T2DShape3D model. So that at draw time the custom shader is using instead of the default one. I found where the default XNABasicEffect is being added to the model but the problem is that I don't want to modify engine code to apply my shader.
Any help would be greatly appreciated,
Doug
About the author