Trying to fix shading
This commit is contained in:
1 parent
6c156d3bc2
commit
178f48120d
12 files changed
+115
-45
No files matched your search
@@ -39,7 +39,7 @@ struct FragmentParameter
|
||||
LightingParameter result;
|
||||
result.tbn = float3x3(normalize(tangent_WS), normalize(biTangent_WS), normalize(normal_WS));
|
||||
result.position_WS = position_WS;
|
||||
result.viewDir_WS = viewDir_WS;
|
||||
result.viewDir_WS = normalize(viewDir_WS);
|
||||
return result;
|
||||
}
|
||||
};
|
||||
|
||||
Reference in new issue
Block a user