forked from Dynamitos/Seele
Changes to shadowpass
This commit is contained in:
1 parent
9f9663fb47
commit
c8ee843a09
7 files changed
+23
-15
No files matched your search
@@ -78,6 +78,7 @@ VertexShaderOutput vertexMain(
|
||||
float4 worldPos = float4(mul(cameraRotation, vertices[vertexIndex]), 1.0f);
|
||||
//clip(dot(worldPos, clipPlane));
|
||||
output.clipPos = mul(pViewParams.projectionMatrix, worldPos);
|
||||
output.clipPos.z = output.clipPos.w - 0.0001f; // Push to far plane
|
||||
output.texCoords = normalize(vertices[vertexIndex]);
|
||||
return output;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user