Fixed color attachments not working

This commit is contained in:
antopilo
2025-01-09 19:21:53 -05:00
parent a197ab62a6
commit 8e8fa1cd6d
6 changed files with 35 additions and 25 deletions

View File

@@ -92,7 +92,7 @@ PSOutput main(PSInput input)
albedoColor.xyz = albedoSample.xyz;
}
output.oColor0 = albedoColor;
output.oColor0 = float4(normal, 1.0);
// MATERIAL PROPERTIES
float metalnessValue = inMaterial.metalnessValue;
if(inMaterial.hasMetalness == 1)