Skip to main content

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.

Filter by
Sorted by
Tagged with
1 vote
1 answer
54 views

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 ...
Benjamin's user avatar
0 votes
1 answer
212 views

I'm decompiling a game's shaders with RenderDoc in an effort to understand them, and I encountered this segment: ...
Sir Teatei Moonlight's user avatar
0 votes
0 answers
49 views

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 &...
cvaqabond's user avatar
0 votes
1 answer
82 views

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. ...
Raildex's user avatar
  • 812
0 votes
1 answer
120 views

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 ...
RodX's user avatar
  • 3
1 vote
0 answers
41 views

...
black4joss's user avatar
1 vote
0 answers
79 views

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 ...
user179368's user avatar
1 vote
0 answers
63 views

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 ...
mueoc mueoc's user avatar
2 votes
2 answers
649 views

A lot of older games use DirectX9 which makes sense, however several modern games such as Sonic Mania, Terraria and Undertale all use DirectX9. Is there some benefit to using an older version of the ...
Auxy's user avatar
  • 23
1 vote
0 answers
41 views

I'm implementing an algorithm called Fast3x3 SVD on my compute shader. However, while I was debugging my compute shader in RenderDoc, I noticed some assignment operators were completely getting ...
ThisAccountIsForGameDev's user avatar
2 votes
1 answer
465 views

Let's say I want to enable debug layers for a Direct3D 12 renderer, for which I need to create a ID3D12Debug object. Problem is, there are 6 different version of ...
marked-off-topic's user avatar
1 vote
0 answers
113 views

I think I got the main idea of shadow cascades but I have misunderstanding of transforming shadow cascades using matrices for getting correct a result. I understand it this so Define shadow cascade ...
Andrey Klimenko's user avatar
0 votes
1 answer
152 views

I am trying to implement a program in Direct3D 11 which uses techniques like deferred shading and shadowmapping, but when I create my gBuffers, the position looks strange. After researching a bit I ...
Charlie.Q's user avatar
-1 votes
2 answers
238 views

This question is about the licensing of DirectXTK. Is DirectXTK12 free for commercial use? I ask because I use it in my project, and I may want to go commercial in the future. If it is not, I'll ...
Preciado's user avatar
0 votes
1 answer
501 views

When trying to re-create my vertex buffers, my app crashes and I get this error: D3D12 ERROR: ID3D12Resource2::: CORRUPTION: An ID3D12Resource object (0x000001DDEBA98FC0:'Vertex Buffer Default ...
coulomb's user avatar
  • 150
1 vote
1 answer
323 views

I'm trying to implement depth peeling onto a 2D texture array, where each array slice corresponds to a depth layer. In order to do this, I'd like to draw to subsequent array slices of this texture, ...
user722227's user avatar
0 votes
0 answers
611 views

I have read: https://learn.microsoft.com/en-us/windows/win32/direct3darticles/dxgi-best-practices#multithreading-and-dxgi https://learn.microsoft.com/en-us/windows/win32/direct3ddxgi/d3d10-graphics-...
Peter's user avatar
  • 1
0 votes
1 answer
496 views

The background of the question is, does it make sense to introduce an if case when drawing a mesh for whether there is instancing or not? This is using DirectX 11 ...
thalm's user avatar
  • 257
1 vote
1 answer
1k views

I'm programming a rendering engine, and I'm considering whether on not I would need to implement the availability to call D3D11CreateDevice() multiple times to get ...
Gijahara's user avatar
0 votes
1 answer
567 views

I've tried looking for tutorials or samples related to the topic - but all that I could find are either scientific papers or vague posts on forums. As I understand it - I need to dedicate a whole pass ...
krz's user avatar
  • 1
0 votes
1 answer
306 views

I am using the directxtk contentexporter to convert a a fbx file with animation to sdkmesh. The fbx file is exported from blender, it includes an animation using model bones. After exporting to fbx, I ...
r m's user avatar
  • 11
0 votes
1 answer
439 views

For example I have 3 shadow cascades. A shadow is cast by a hill in my 2nd cascade, but the shadow itself is cast into not only the 2nd cascade but also the 1st. In the shader program, in order to ...
T. Elliott's user avatar
1 vote
1 answer
96 views

I'm dropping a object 1353 feet from a building. I can get the time(t) it lands with manipulating the total displacement of a object(/\x). Gravity is 32 feet/s^2 While doing physics, kinematics or ...
terry's user avatar
  • 11
0 votes
1 answer
179 views

I've just implemented a simple algorithm to calculate terrain vertex normals and I'm using diffuse and ambient light currently, but for some reason the squares that make up my terrain are visible when ...
Rafael Ferreira's user avatar

1
2 3 4 5
22