feat: Good bvh traversal
This commit is contained in:
@@ -75,6 +75,10 @@ void gi(uint32_t3 location: SV_DispatchThreadID, uint32_t3 local_location: SV_Gr
|
||||
let pos = gbuffer_position.Load(location.xy);
|
||||
let normal = gbuffer_normal.Load(location.xy);
|
||||
let albedo = gbuffer_albedo.Load(location.xy);
|
||||
|
||||
// let floored_pos = floor(pos);
|
||||
// let c = (floored_pos.x + floored_pos.y + floored_pos.z) % 2;
|
||||
// target_texture.Store(location.xy, albedo * select(c == 0, 0.5, 1.));
|
||||
target_texture.Store(location.xy, albedo);
|
||||
return;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user