git.s-ol.nu ~forks/DiligentFX / 202c54b
Updated light scattering FX to match the API 240071 assiduous 1 year, 1 month ago
1 changed file(s) with 1 addition(s) and 1 deletion(s). Raw diff Collapse all Expand all
321321
322322 pDevice->CreateResourceMapping(ResourceMappingDesc(), &m_pResMapping);
323323 const auto& deviceCaps = pDevice->GetDeviceCaps();
324 if (deviceCaps.DevType == RENDER_DEVICE_TYPE_GLES || deviceCaps.AdaterType == ADAPTER_TYPE_SOFTWARE)
324 if (deviceCaps.DevType == RENDER_DEVICE_TYPE_GLES || deviceCaps.AdapterInfo.Type == ADAPTER_TYPE_SOFTWARE)
325325 {
326326 m_uiNumRandomSamplesOnSphere /= 2;
327327 m_iPrecomputedSctrUDim /= 2;