Skip to main content
added 164 characters in body
Source Link

I've got a problem with DirectX 12 I cannot figure out by myself. I wrote a small program that should render a triangle onto the screen. When I executed the application, however, there was no triangle visible. So I launched NVidia's nsight debugger. The weird thing is that the triangle has been drawn to the depth-stencil buffer but not to the back buffer.

enter image description here

If I clear the render target view to light blue it would look like this:

enter image description here

If you need any code snippets please write it in the comments and I will post it.

Thanks in advance

I've got a problem with DirectX 12 I cannot figure out by myself. I wrote a small program that should render a triangle onto the screen. When I executed the application, however, there was no triangle visible. So I launched NVidia's nsight debugger. The weird thing is that the triangle has been drawn to the depth-stencil buffer but not to the back buffer.

enter image description here

If you need any code snippets please write it in the comments and I will post it.

Thanks in advance

I've got a problem with DirectX 12 I cannot figure out by myself. I wrote a small program that should render a triangle onto the screen. When I executed the application, however, there was no triangle visible. So I launched NVidia's nsight debugger. The weird thing is that the triangle has been drawn to the depth-stencil buffer but not to the back buffer.

enter image description here

If I clear the render target view to light blue it would look like this:

enter image description here

If you need any code snippets please write it in the comments and I will post it.

Thanks in advance

Source Link

DirectX 12: Problem with render target

I've got a problem with DirectX 12 I cannot figure out by myself. I wrote a small program that should render a triangle onto the screen. When I executed the application, however, there was no triangle visible. So I launched NVidia's nsight debugger. The weird thing is that the triangle has been drawn to the depth-stencil buffer but not to the back buffer.

enter image description here

If you need any code snippets please write it in the comments and I will post it.

Thanks in advance