Game Development Community

Textures in custom shader feature

by David Zboray · in Torque 3D Beginner · 12/03/2010 (4:34 pm) · 0 replies

We are attempting to create an object that has a surface rendered through a custom, multi-pass rendering process that will involve at least one render-to-texture intermediary stage. We are attempting to use ShaderFeatures for this but we are encountering a number of difficulties stemming from my lack of understanding of torque's "ShaderGen" system and how textures are assigned, loaded, bound, etc.

The immediate issue is that we want to assign a new texture attribute to our shaderFeature, that can be set by putting a filename entry into the appropriate materials.cs file, but we have not found a smooth way of doing this.

We are using Torque 3D 2009 SDK 1.0.1 on Windows 7.

Any help is appreciated.

This is the next step from the issues here (private forums):
http://www.torquepowered.com/community/forums/viewthread/122697

About the author

Recent Threads