torque custom shader
No replies to this topic
Members - Reputation: 103
Posted 14 May 2013 - 07:48 PM
Hello I'm learning shader programming and have come across a problem when attempting to add a custom shader to the Torque game engine. I looked at existing shaders that work in torque and tried to make my shader have the same format but the shader doesnt seem to load. theres no error message or anything that might give a clue to what could be wrong.
I made this in FX composer and modified the format to match existing torque shaders as best I can.
It works in fx composer but not in torque. I'm thinking its something to do with the link between the engine and the shader. the shader isnt getting the data it needs and the engine isn't getting the shader stuff it needs but cant seem to find any useful information or anything I can understand(at least up till now).
Could someone have a look at my files and shed some light? Id really appreciate it, thanks.