Skip to content

Commit

Permalink
Add code ref
Browse files Browse the repository at this point in the history
  • Loading branch information
StuckiSimon committed Aug 23, 2024
1 parent be11005 commit be2a876
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions strahl-lib/src/tracer-shader.wgsl
Original file line number Diff line number Diff line change
Expand Up @@ -1216,6 +1216,7 @@ fn isOccluded(ray: Ray, maxDistance: f32) -> bool {
const TRIANGLE_MIN_DISTANCE_THRESHOLD = 0.0005;
const TRIANGLE_MAX_DISTANCE_THRESHOLD = 10e37f;

// CODE#RAY-COLOR
fn rayColor(cameraRay: Ray, seed: ptr<function, u32>, sunBasis: Basis) -> vec4f {
var hitRecord: HitRecord;
var ray = cameraRay;
Expand Down

0 comments on commit be2a876

Please sign in to comment.