1
0
mirror of https://github.com/wolfpld/tracy.git synced 2025-03-20 07:40:02 +08:00

Add aras-p's ToyPathTracer.

https://github.com/aras-p/ToyPathTracer
b076563906169aa2f9e6d7218ef85decf81f8f72
This commit is contained in:
Bartosz Taudul
2019-10-29 22:21:34 +01:00
parent 789b95f259
commit 0b1eff8b0d
22 changed files with 3957 additions and 0 deletions
@@ -0,0 +1,13 @@
struct vs2ps
{
float2 uv : TEXCOORD0;
float4 pos : SV_Position;
};
vs2ps main(uint vid : SV_VertexID)
{
vs2ps o;
o.uv = float2((vid << 1) & 2, vid & 2);
o.pos = float4(o.uv * float2(2, 2) + float2(-1, -1), 0, 1);
return o;
}