Skip to content

Commit bcd021b

Browse files
committed
GbufferPass: changed SV_Target2 variable name
2 parents a97c7ea + 0bcfcef commit bcd021b

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

src/Shader/GBufferPass.hlsl

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -47,14 +47,6 @@ PixelOutput PixelMain(VertexOutput input)
4747
PixelOutput output;
4848
output.albedo = tex.Sample(texSampler, uvFlipped);
4949
output.normal = input.normal * 0.5f + 0.5f;
50-
51-
float4 sampledOrm = metalRough.Sample(texSampler, uvFlipped);
52-
53-
float occlusion = sampledOrm.r;
54-
float roughness = sampledOrm.g;
55-
float metallic = sampledOrm.b;
56-
57-
output.orm = float4(0.0f, roughness, metallic, 1.0f);
5850
output.position = input.vertexPos;
5951
return output;
6052
}

0 commit comments

Comments
 (0)