Jump to content
GameDev.net Posting Guidelines (please read before posting)
For Beginners Forum FAQs (please read before posting)
Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.
Posted 31 July 2014 - 02:52 PM
Posted 31 July 2014 - 03:11 PM
Edited by RoundPotato, 31 July 2014 - 03:12 PM.
Posted 31 July 2014 - 03:13 PM
In the pixel shader, if input semantic VFACE is negative, use a white output color.
If you are not using shaders, use shaders.
Otherwise you have to draw it twice with different vertex colors.
Edited by L. Spiro, 31 July 2014 - 03:14 PM.
Posted 31 July 2014 - 04:26 PM
Posted 31 July 2014 - 06:47 PM
Do i have to repeat this w/ the vertices defined in counter-clockwise order (and the color set to 255, 255, 255 AND modifying the size of the vertex buffer?? (clockwise order is the default in DirectX and has not been changed in the code).
GameDev.net™, the GameDev.net logo, and GDNet™ are trademarks of GameDev.net, LLC.