Advertisement

Latest directx11 Activity

DX11 SwapChain ResizeBuffers Crash? (For 2 days, 16 hours of looking, I couldn't figure it out)

In order for swap-chain resize to work, every reference to the current (back)buffer need to have been released. So, you can do what you were trying to do, but you need to make sure to release those references manually before doing the resize, via calling Release or freeing the CComPtr, or whatever …

802 views
Advertisement
Shadow problem in directx11

@MitsubishiMagna Forget, I solved the problem




After this line → float2 shadowUV = lightPos.xy * 0.5f + 0.5f;
I should been write this → shadowUV.y = 1 - shadowUV.y;

2,716 views
Sekt4nt
November 09, 2024 05:40 PM
How to draw indexed cube with texture on every side ?

@JoeJ exactly, now I found correct solution

TVertexPT vertices[] = {
   {{-1.0f, -1.0f,  1.0f}, {0.0f, 1.0f}},
   {{ 1.0f, -1.0f,  1.0f}, {1.0f, 1.0f}},
   {{ 1.0f,  1.0f,  1.0f}, {1.0f, 0.0f}},
   {{-1.0f,  1.0f,  1.0f}, {0.0f, 0.0f}…

1,247 views
PointLight troubles in directx11

I solved the problem, my normals was incorrect

941 views
Advertisement
Advertisement
Advertisement