Yes you can. :)
I've only done it once, but this article explains what you want to do:
http://www.opengl.org/sdk/docs/tutorials/ClockworkCoders/lighting.php
It's only the output that you cut off. Some shader versions require explicit declaration of the valid inputs however, so you may have to write that too, somewhere.
3D draw colors bleed into 2D draw colors
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement