StandardMultilayerPBR_ForwardPass.azsl. the type of input.m_normal is (#5385)

float

Github issue: https://github.com/o3de/o3de/issues/2522

Change to float3. The current ASV tests are not affected but
using the RPI/Mesh example with Mesh: objects/suzanne.azmodel
and the material:
StandardMultilayerPbrTestCases/005_UseDisplacement.material

Showed a clear improvement.

Signed-off-by: galibzon <66021303+galibzon@users.noreply.github.com>
monroegm-disable-blank-issue-2
galibzon 4 years ago committed by GitHub
parent a2efc587cc
commit 621194e593
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -153,7 +153,7 @@ struct StandardMaterialInputs
float2 m_vertexUv[UvSetCount];
float3x3 m_uvMatrix;
float m_normal;
float3 m_normal;
float3 m_tangents[UvSetCount];
float3 m_bitangents[UvSetCount];

Loading…
Cancel
Save