Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion Chapter 21 Ambient Occlusion/Ssao/Shaders/DrawNormals.hlsl
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ VertexOut VS(VertexIn vin)
// Fetch the material data.
MaterialData matData = gMaterialData[gMaterialIndex];

// Assumes nonuniform scaling; otherwise, need to use inverse-transpose of world matrix.
// Assumes uniform scaling; otherwise, need to use inverse-transpose of world matrix.
vout.NormalW = mul(vin.NormalL, (float3x3)gWorld);
vout.TangentW = mul(vin.TangentU, (float3x3)gWorld);

Expand Down