I'm initializing the swap chain with SampleDescription(4, 0) and the output is showing triangle primitives rendered with 4x antialiasing as expected, but the line list is being rendered with no antialiasing at all. What could cause this? See below:
I'm initializing the swap chain with SampleDescription(4, 0) and the output is showing triangle primitives rendered with 4x antialiasing as expected, but the line list is being rendered with no antialiasing at all. What could cause this? See below:
DirextX antialliasing is acceptble only for triangles no lines and points
Directx 11 Rasterization state: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476198(v=vs.85).aspx
In the state there's a specific option named: AntialiasedLineEnable
I'm not sure about the name in SharpDx though
Hope this helps.
-MIGI0027
FastCall22: "I want to make the distinction that my laptop is a whore-box that connects to different network"
Blog about... stuff (GDNet, WordPress): www.gamedev.net/blog/1882-the-cuboid-zone/, cuboidzone.wordpress.com/
Directx 11 Rasterization state: http://msdn.microsoft.com/en-us/library/windows/desktop/ff476198(v=vs.85).aspx
In the state there's a specific option named: AntialiasedLineEnable
I'm not sure about the name in SharpDx though
Hope this helps.
-MIGI0027
Right you are, sir. In SharpDX it appears to be a property of the RasterizerStateDescription, which is used to initialize a new RasterizerState object, which is then assigned to the ImmediateContext object, which is a property of the DeviceContext.