Changes to shadowpass
This commit is contained in:
@@ -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