Shaders not working?
by decryptoid · in Torque Game Engine Advanced · 07/20/2005 (9:29 am) · 3 replies
I have recently been having some problems with the shaders... generally they work perfectly, but some objects ( some DTS objects) just appear dark for no apparent reason.
I made these objects just as I always do, made the materials just as I always do, and made the material mapping just as I always do and yet it will not work. Light will not show on these objects, adn the material specularity will not show on these objects. It's driving me crazy! It seems that the material does nothing but make them really dark.
Do any of the material settings from 3DSMAX affecting the shaders? Is there something obvious I am missing?
I made these objects just as I always do, made the materials just as I always do, and made the material mapping just as I always do and yet it will not work. Light will not show on these objects, adn the material specularity will not show on these objects. It's driving me crazy! It seems that the material does nothing but make them really dark.
Do any of the material settings from 3DSMAX affecting the shaders? Is there something obvious I am missing?
About the author
Torque Owner Kevin Johnson
test via command line using fxc.exe, (verify your specific target) it will tell you if anything is askew
What registers is your shader using?
Its possible your using some registers that arent wired to any code yet..
If you want you can post your shader here, we could take a looksee..