FXObjectRender Question
by Altair M. Martinez · in Torque Game Engine · 09/16/2005 (11:11 pm) · 3 replies
Hello there.
I wanted to render my playable character with Cg shaders. I have included the cg headers and libraries in the visual studio project and made the necessary changes in the cg headers but i haven't included the header into any Torque source code yet. Do you have any suggestions where i could put it? I want it to be optimized and not render the whole scene with cg shaders, just my character.
I also considered using FxObjectRender for this or perhaps use fxobjectrender to put an object that is cg shader rendered inside the game but I have no idea how to use Fxobjectrender. I've been looking for examples in the resource but I can't find any detailed code on any implementation for this. Are there any examples or links that anyone can share please?
Thanks a lot!
I wanted to render my playable character with Cg shaders. I have included the cg headers and libraries in the visual studio project and made the necessary changes in the cg headers but i haven't included the header into any Torque source code yet. Do you have any suggestions where i could put it? I want it to be optimized and not render the whole scene with cg shaders, just my character.
I also considered using FxObjectRender for this or perhaps use fxobjectrender to put an object that is cg shader rendered inside the game but I have no idea how to use Fxobjectrender. I've been looking for examples in the resource but I can't find any detailed code on any implementation for this. Are there any examples or links that anyone can share please?
Thanks a lot!
About the author
#2
09/18/2005 (12:03 am)
^_^ ok thanks Ben. I found some, but the explanation on the ones i found weren't as detailed as Melv's. looking for something like that.
#3
09/21/2005 (4:36 am)
Ah, good luck. If you want fancy shaderized rendering, TSE has a lot of resources but might not currently meet your needs (ie, GL support isn't in yet).
Associate Kyle Carter