Category "directx-11"

How to compile HLSL Shaders during build with Cmake?

I'm working on a d3d application and i would like to compile my .hlsl shaders during to build using cmake. I have no idea where to start. this is my current CMa

Is the render target view the only way to output data from pixel shader in DirectX?

Purpose: I want to render an image in the screen and save it in my disk. Description: I have a render target view. I have a input shader resource view with its

How to colour vertices as a grid (like wireframe mode) using shaders?

I've created a plane with six vertices per square that form a terrain. I colour each vertex using the terrain height value in the pixel shader. I'm looking f