Skip to content
This repository has been archived by the owner on Nov 22, 2022. It is now read-only.

Commit

Permalink
fill constructor with 0.0 (#66)
Browse files Browse the repository at this point in the history
  • Loading branch information
Noah Lyons committed Jan 30, 2020
1 parent 7deb189 commit 0e4798d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/renderer/glsl/chunks/intersect.glsl
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ void surfaceInteractionFromBVH(inout SurfaceInteraction si, Triangle tri, vec3 b
vec2 uv2 = texelFetch(uvs, i2, 0).xy;
vec2 uv = fract(barycentric.x * uv0 + barycentric.y * uv1 + barycentric.z * uv2);
#else
vec2 uv = vec2();
vec2 uv = vec2(0.0);
#endif

si.materialType = int(getMatType(materialIndex));
Expand Down

0 comments on commit 0e4798d

Please sign in to comment.