Quantcast
Channel: GameDev.net
Browsing all 17560 articles
Browse latest View live

Download DirectX 9 error

When attempting to load DirectX 9 I get the error "DirectX did not copy a required file." It does not tell me what this file is, but simply aborts the install. If I download DirectX 9 from the Windows...

View Article


Trouble passing multiple lights

I have a lightstruct in C++ which holds the color and direction of the light.   const int NUM_LIGHTS = 1;struct lightStruct {XMFLOAT4 Color;XMFLOAT4 Direction;};   And this is how I create my buffer...

View Article


Blending texture to backbuffer

Hi everyone!   I have a full-screen texture with UI. I need to blend it to backbuffer.   UI texture and Backbuffer have the same resolution, sample count, and format.   The only solution came to my...

View Article

Problems reading texture data back

Hi Guys,I am having trouble reading texture data back after loading a texture into RAM.I have loaded a test BMP which is a 1x1 pixel with RGB values of 128, 129, 130, so I know what values to expect...

View Article

Image may be NSFW.
Clik here to view.

Linear Sampler for Texture3D

Hey Guys,   Does anyone know how linear sampler works behind the scene? especially when sampling a Texture3D object. Is it fetching 8 texels and interpolate the result? MSDN only says...

View Article


texture still show line between vertices

Hello,   If you look at this image:   http://imgur.com/9exjwkL   why is it that I still see the lines between the vertices even tho I use a texture? Has it something to do with the fact that I am using...

View Article

Comparing id3d11inputlayouts

Hi all, Can someone give me some pointers on how to approach the following: - I have X shaders which need Y (less then X) unique inputlayouts - therefor I will only store the unique inputlayouts and...

View Article

XAudio2 in dll, crash in FreeLibrary

Hi,I'm currently adding a XAudio2 sound dll for my dll based engine and I'm stumbling on a seemingly simple task.FreeLibrary always crashes at a random address when releasing the plugin dll. All I do...

View Article


Image may be NSFW.
Clik here to view.

calculate the reflective vector

The vector I and n are given, n is the unit vector, the output is vector r. my question is the orientation of r. Since dot(n,l) is the signed length(negative in this case) ,why the vector below n...

View Article


Proper dx class structure.

Hello forum!   I´ve been working with OpenGl for the past 3 years (at the university and personal projects) mostly I used OpenGl 3.3. This year for my computing project I´ll work on a Rendering Engine....

View Article

d3d11 soa vertex buffer

Hellow!! How to implement soa layout vb in d3d11?  Is it possible ??

View Article

[D3D12] Root Signature Reflection

I'm trying to get a shader's root signature via reflection so that I can validate what I'm setting.   First of all, this page for D3D12CreateRootSignatureDeserializer says that the function has been...

View Article

Rendered object not becoming visible until mouse-press

Hello,   I am trying to speed up a D3D11 graphics engine I am working on by limiting the amount of DrawIndexedInstanced() calls. My newly modified code only does a DrawIndexedInstanced() when A) a...

View Article


Area Lights in DirectX

So after reading https://www.guerrilla-games.com/read/killzone-shadow-fall-creating-art-tools-for-a-new-generation & The moving to frostbite PBR presentation I noticed that Area lights as opposed...

View Article

How simultaneously both read from and write to a texture works through UAV

Hey Guys,   As we know if we want to perform some in-place edit over texture (both 2D and 3D), the MSDN page shows that how to do that in a hacky way through DX11 api by using uav. Now in DX12 with...

View Article


3D games: black outlines around charaters

I've noticed in some 3D games it sometimes looks like there's a black outline around a character's skinned mesh.  What cause this artifact?

View Article

3D games: character is small compared to the size of objects in the world

3D games: character is small compared to the size of objects in the world     I've noticed in many 3D games that characters are small compared to the size of objects in the game world, such as trees,...

View Article


intel ok, geforce white screen

Hi, I have a problem with my directx application. I have a laptop with 2 cards (intel and gtx 860M). When I render with intel, I have ok results, but if I render with geforce I get a white window, as...

View Article

How to understand GPU profiler data and use it to trace down suspicious...

Hey Guys,   If I got it correctly, the reason we use/implement GPU profiler is to identify any suspicious render passes/GPU tasks in our pipeline which is abnormally slow, so we could optimize the...

View Article

D3DQUERYTYPE_TIMESTAMPFREQ Always GetData equal to 0.1GHz

I Use D3DQUERYTYPE_TIMESTAMPFREQ to query GPU Frequency. On my GTX960 PC, the data I got is 100000000. I have test it on other PC which belong to my mates, the Data Still 100000000. I have try the...

View Article
Browsing all 17560 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>