Skip to main content

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
46 views

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, ...
Alex Veres's user avatar
0 votes
1 answer
62 views

I have VC++ code for DX9 that draws shadows perfectly. ...
black4joss's user avatar
0 votes
1 answer
84 views

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
133 views

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 ...
Mats391's user avatar
  • 113
0 votes
0 answers
255 views

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 “...
Cosma Eduard's user avatar
1 vote
1 answer
101 views

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
3k views

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 ...
John Smith's user avatar
0 votes
1 answer
71 views

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 ...
Chandana's user avatar
1 vote
1 answer
261 views

I've got a single vertex buffer and an index buffer for a cube in Directx9. I now want to generate a LPD3DXMESH object from them, so that I can manage mouse picking and other stuff with the cube ...
Valerio Nenci's user avatar
1 vote
1 answer
141 views

Which DirectX Version (10, 11 or 12) is recommended to use, if you want to have a low-poly game with shaders, shadow and aliasing. But not normal or height maps. Moreover my question is, because once ...
Ryen Sekret's user avatar
0 votes
1 answer
157 views

I want to do palette swapping in my game, in a fast way and without shaders, so I couldn't replace pixels in a texture, then I tried to use the SetPaletteEntries and SetCurrentTexturePalette method, ...
GamerH2's user avatar
1 vote
0 answers
193 views

I've been stuck on this problem for just too long. Long story short, the compiler returns "syntax error: unexpected token" for break, continue, [loop], [unroll] and pretty much every other attribute. ...
user1983877's user avatar
1 vote
1 answer
327 views

For an existing game (VBS3) I'd like to write a plugin which exports all the rendered pixels with their world position (basically something like a LIDAR point cloud). Actually I don't need the ...
Apollo13's user avatar
0 votes
1 answer
239 views

I'm trying to implement a vertex and pixel shader on a piece of hardware we're developing a game for which uses the DirectX 9.0c runtime. The shaders are for boned mesh animation and is a bit more ...
TheRarebit's user avatar
0 votes
1 answer
463 views

Is it possible to retrieve the vertex input layout from an effect file in Direct3D9? In Direct3D11 I can achieve this by using ...
Joey Muiser's user avatar
0 votes
1 answer
105 views

To run Direct3D 9 in debug, it is necessary to "install a 'checked' version of the OS". The checked version of Windows comes in both full and partial flavors. It seems that the partial version is ...
Zachary Burns's user avatar
1 vote
1 answer
329 views

Creating the texture: ...
Maximus Minimus's user avatar
0 votes
1 answer
1k views

Basically I'm building a first person shooter game using DirectX9. And now, I'm working on the modeling side. But before I start modeling, I have to make sure that I create all the models with ...
Farhad Reza's user avatar
1 vote
1 answer
312 views

I'm working on a small DX9 game project for learning purpose. I'm current dealing with resources manager file (*.rc) which I'm not used to (I have only worked with direct file until now). If I use <...
Hai Hoang's user avatar
  • 113
0 votes
0 answers
342 views

I'm searching a way to implement a linear gradient shader that behaves as the linear gradient in Photoshop (only the vertical case is necessary). It will be applied to 2D sprites. Currently I'm ...
enigma's user avatar
  • 395
0 votes
1 answer
808 views

I have an instance where a class creates a DX9 texture via ...
unknownSPY's user avatar
1 vote
0 answers
363 views

I have some code that captures the screen and save data into a surface. g_pDirect3D_Device->GetFrontBufferData(0, pSurface); All is ok, now I want to display <...
victorio's user avatar
1 vote
1 answer
787 views

I'm trying to implement Hi-Z Screen-Space Cone-Traced Reflections using Direct3D9. I already know how to render to specific mip-level texture using Direct3D11, but not using Direct3D9. Has anyone ...
postcar999's user avatar
1 vote
1 answer
588 views

I'm trying to create a skybox using a cube and using one of this textures: http://forum.unity3d.com/threads/mundus-skybox-pack-01-released.202748/ I've got it working well, but I noticed there are ...
eric.m's user avatar
  • 123
4 votes
1 answer
1k views

My game, like most games, supports running in fullscreen exclusive mode. And I'd like to give my players the choice of which monitor the game will display on. In order to prevent the player from ...
Walt D's user avatar
  • 153

1
2 3 4 5