Exam Done
This commit is contained in:
@@ -43,6 +43,7 @@ std::optional<Sample> TriangleHitTest(const Vector3& fragPos, const VertexOut& v
|
||||
v1.uv * depth * normWeights.y / v1.position.w +
|
||||
v2.uv * depth * normWeights.z / v2.position.w;
|
||||
|
||||
|
||||
const float interpolatedDepth = 1 / (normWeights.x / v0.position.w + normWeights.y / v1.position.w + normWeights.z / v2.position.w);
|
||||
|
||||
auto interpolate =
|
||||
|
||||
Reference in New Issue
Block a user