Skip to main content
Game Development

Questions tagged [directx9]

Questions which are specifically related to version 9.0 of DirectX SDK. If your question is not specific to this version of SDK (i.e. it could apply to DirectX 10 and 11 as well), use the 'directx' tag.

Filter by
Sorted by
Tagged with
1 vote
0 answers
39 views

Horizontal Lines artifacts on Direct3D 9 Render

I'm encountering an issue in my Direct3D 9 application where horizontal lines appear at fixed 16-pixel intervals on a render target surface. Here's the setup: Environment: Direct3D 9, Windows, ...
2 votes
2 answers
567 views

Why do a lot of games use DirectX9

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
0 votes
1 answer
57 views

Error in directional light shadow projection matrix

I have VC++ code for DX9 that draws shadows perfectly. ...
0 votes
1 answer
158 views

Texture does not draw with ATI Radeon RX, but does with NVIDIA/no GPU

I am getting a problem when trying to draw a texture on the following hardware (configuration 1): ATi Radeon RX 6600 XT Screen (OS Windows 11): I have other hardware (configuration 2): nVidia Geforce ...
Range's user avatar
  • 159
0 votes
1 answer
62 views

How to remove the influence of a region of a texture, using texture stages?

I created a 512x512 shadow texture, and I don't want to render the center part on my Terrain. Can something like this be done? I didn't find anything on the internet about this (Example as in the ...
Tiberius's user avatar
0 votes
0 answers
166 views

Huge input lag in C++ DX9 application when having many entities

So I have created a 2D game engine used for creating top down singleplayer shooters and now I encounter some massive input lags when I have spawned a few entities (maybe 20 opponents). This results in ...
0 votes
0 answers
123 views

Shadow rendering through wall

In our game, shadows generated for dynamic objects through a shadowmap render on the wrong sides of walls. Here you can see the issue: In the top right corner you see the shadow from a box I placed on ...
0 votes
1 answer
440 views

What to do with d3dx9math.h when converting to DirectX11?

I'm converting an old game from DirectX9 to DirectX11 and I have a question: What I should use instead of d3dx9math.h? Do I have to convert everything for ...
0 votes
0 answers
247 views

How to include a FX shader to my game?

I have an old game source from 2004, the game runs DirectX9, and I want to improve the graphics. I downloaded NVIDIA FX Composer 2.5, and I created a "...
0 votes
1 answer
322 views

HLSL defined render states

As described in this article you can define render states such as ZFunc inside of the HLSL shader. You can also set these from application code. If you set the same state (e.g. ZFunc) in both ...
Mats391's user avatar
  • 113
1 vote
1 answer
92 views

Rendering differences between ps_1_3 and ps_2_a

I am trying to update a shader from ps_1_3 inline assembly to ps_2_a HLSL. However the HLSL shader causes things to render ...
Mats391's user avatar
  • 113
1 vote
1 answer
117 views

Polygon draw order issue

I'm working on a software and I'd to move the rendering API from SlimDX to SharpDX. I've done that but I noticed that the solid polygon are not drawn correctly i.e., even if the polygon is at the back ...
1 vote
1 answer
3k views

DirectX 11, support for Font drawing

I have recently started to work with DirectX 11 and 12, I am using Microsoft Visual Studio Community Edition. I am under a 64-bit machine. I am currently rendering a frame with background and a window ...
1 vote
1 answer
107 views

Need help converting LPDIRECT3DTEXTURE9 to openGl libgdx Pixmap

What i'm trying to achieve. I need to know the equivalent of LPDIRECT3DTEXTURE9 to openGL, the problem is I only know Pixmap ...
ronscript's user avatar
  • 501
0 votes
1 answer
67 views

How to perform alpha blending on saved raw argb videos(a image and a video will also work) using direct3d9 , direct3d10 or direct3d11?

I'm trying to perform alpha blending on videos using direct3d11. I've wrote the code snippet below to achieve this. I've tried to read the video file out2.argb frame by frame and store it in the ...

15 30 50 per page
1
2 3 4 5
...
16

AltStyle によって変換されたページ (->オリジナル) /