13 years, 8 months ago
Highlights
Try changing if(FAILED(m_dxgiFactory->CreateSwapChainForHwnd( m_device, p_hWnd, &m_swapChainDesc, &m_swapChainFullscreenDesc, m_dxgiOutput, m_swapChain.ptr()))…
13 years, 8 months ago
13 years, 11 months ago
I'm not sure if this applies to all versions or just to IE 10, but whenever I try hitting enter to add a line break it does nothing in IE 10 (the desktop version on Windows…
13 years, 11 months ago
13 years, 11 months ago
13 years, 11 months ago
Latest Activity
See all in DiscussionsTry changing if(FAILED(m_dxgiFactory->CreateSwapChainForHwnd( m_device, p_hWnd, &m_swapChainDesc, &m_swapChainFullscreenDesc, m_dxgiOutput, m_swapChain.ptr()))) throw "Failed to crea
13 years, 8 months ago
Try changing line 50 to: float dotProduct = abs(dot(lightDirection, normalize(normal)));
13 years, 11 months ago
You can, yes, though it's probably better to just use an include file for common structs and define the shader-specific …
13 years, 11 months ago