浏览代码
Stereo-ize screen-space AABBs generation (AABBBoundsBuffer)
Stereo-ize screen-space AABBs generation (AABBBoundsBuffer)
In order to stereo-ize this job, the following work was needed: * Dispatch twice as many thread groups. Use the GroupID.y to select the eye being processed. * Submit one set of convex bounds per eye. Two bounds are generated for each light. * Submit stereo-aware projection matrices, passed in as an array, and indexed with the stereo eye index in the compute shader. * Output one set of AABBs for each eye. * Increase size of compute buffers to support the stereo case (WIP) This was verified with the test suite and manually via RenderDoc./main
Robert Srinivasiah
7 年前
当前提交
b106666f
共有 3 个文件被更改,包括 54 次插入 和 17 次删除
-
4ScriptableRenderPipeline/HDRenderPipeline/HDRP/HDStringConstants.cs
-
43ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/LightLoop.cs
-
24ScriptableRenderPipeline/HDRenderPipeline/HDRP/Lighting/LightLoop/scrbound.compute
撰写
预览
正在加载...
取消
保存
Reference in new issue