Jump to content
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).
Posted 31 July 2014 - 07:03 PM