Closed rmalca closed 5 years ago
The vertex data provided in that sample is "upside down" in Vulkan by default, unless an optional setting is enabled. This should work:
GraphicsDeviceOptions options = new GraphicsDeviceOptions() { PreferStandardClipSpaceYDirection = true };
_graphicsDevice = VeldridStartup.CreateGraphicsDevice(window, options, GraphicsBackend.Vulkan);
The vertex data provided in that sample is "upside down" in Vulkan by default, unless an optional setting is enabled. This should work:
GraphicsDeviceOptions options = new GraphicsDeviceOptions() { PreferStandardClipSpaceYDirection = true }; _graphicsDevice = VeldridStartup.CreateGraphicsDevice(window, options, GraphicsBackend.Vulkan);
Perfect, it works now. Thanks!
In the sample "GettingStarted" when I change
_graphicsDevice = VeldridStartup.CreateGraphicsDevice(window);
for this_graphicsDevice = VeldridStartup.CreateGraphicsDevice(window, GraphicsBackend.Vulkan);
I get a black screen without any warnings.Any idea what it could be? Vulkan SDK Cube works fine.