Updated compute raytrace example. Pass scene primitives via SSBOs, shader tweaks, etc.

This commit is contained in:
saschawillems 2016-09-01 22:55:57 +02:00
parent 5862dc0479
commit eaf76fd6e7
6 changed files with 310 additions and 133 deletions

View file

@ -89,6 +89,11 @@
<ClInclude Include="..\base\vulkanexamplebase.h" />
<ClInclude Include="..\base\vulkantools.h" />
</ItemGroup>
<ItemGroup>
<None Include="..\data\shaders\computeparticles\particle.comp" />
<None Include="..\data\shaders\computeparticles\particle.frag" />
<None Include="..\data\shaders\computeparticles\particle.vert" />
</ItemGroup>
<Import Project="$(VCTargetsPath)\Microsoft.Cpp.targets" />
<ImportGroup Label="ExtensionTargets">
</ImportGroup>

View file

@ -13,6 +13,9 @@
<UniqueIdentifier>{67DA6AB6-F800-4c08-8B7A-83BB121AAD01}</UniqueIdentifier>
<Extensions>rc;ico;cur;bmp;dlg;rc2;rct;bin;rgs;gif;jpg;jpeg;jpe;resx;tiff;tif;png;wav</Extensions>
</Filter>
<Filter Include="Shaders">
<UniqueIdentifier>{e28680da-cc95-413d-b6f0-0e1f9967ee88}</UniqueIdentifier>
</Filter>
</ItemGroup>
<ItemGroup>
<ClCompile Include="..\base\vulkandebug.cpp">
@ -39,4 +42,15 @@
<Filter>Header Files</Filter>
</ClInclude>
</ItemGroup>
<ItemGroup>
<None Include="..\data\shaders\computeparticles\particle.comp">
<Filter>Shaders</Filter>
</None>
<None Include="..\data\shaders\computeparticles\particle.frag">
<Filter>Shaders</Filter>
</None>
<None Include="..\data\shaders\computeparticles\particle.vert">
<Filter>Shaders</Filter>
</None>
</ItemGroup>
</Project>