Questions tagged [directx]
DirectX is a set of multimedia APIs from Microsoft aimed primarily at game developers. Popular APIs within the DirectX collection include Direct3D, XInput, and XAudio.
1,075 questions
1 vote
1 answer
54 views
D3D11 type conversion rules
My understanding is that, in general, we can supply data to the GPU in some format (in D3D, as defined by DXGI_FORMAT_xxx) and it will be implicitly converted to ...
0 votes
1 answer
212 views
Decompiling a DXBC - why is an integer operation working with a massive float?
I'm decompiling a game's shaders with RenderDoc in an effort to understand them, and I encountered this segment: ...
0 votes
0 answers
49 views
How to rotate the "top" sky texture with Directx9?
I'm working on designing and animating the sky with a cubemap. The surfaces except for the "TOP" move in a way that follows each other. However, I could never figure out how to adapt the &...
0 votes
1 answer
82 views
Generate Frustum from Clip Rectangle after Projection
I have an arbitrary Clip Rectangle, ranging from -1 to 1 which was obtained by min/maxing vertices after projection. I want to cull triangles in a compute shader against this particular rectangle. ...
0 votes
1 answer
120 views
Issues rendering a cube in Direct3D11
I started studying DirectX recently and I'm developing an "game engine". For now I just want to draw a cube, but for some reason that I don't know why, it doesn't draw it at all. It's ...
1 vote
0 answers
41 views
1 vote
0 answers
79 views
Incorrect Screen Space Reflection help
I'm leaving a question because I ran into a problem while implementing screen space reflection. The way I do it is by sampling the position and normal map saved with deferred rendering, changing it to ...
1 vote
0 answers
63 views
I can't create a cube with mine vertaxes
i need some help with mine vertexes. when i long story short when i implemented mine class for projection matrix. i got a shape that is not cube that i had. I have googled little bit and i find it out ...