We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
in gbuffer_vs.hlsl: o_vtx.normal = mul(instanceMatrix, float4(i_vtx.normal, 0)).xyz; o_vtx.tangent.xyz = mul(instanceMatrix, float4(i_vtx.tangent.xyz, 0)).xyz; o_vtx.tangent.w = i_vtx.tangent.w;
o_vtx.normal = mul(instanceMatrix, float4(i_vtx.normal, 0)).xyz;
o_vtx.tangent.xyz = mul(instanceMatrix, float4(i_vtx.tangent.xyz, 0)).xyz;
o_vtx.tangent.w = i_vtx.tangent.w;
need to use transpose(inverse(instanceMatrix)).
The text was updated successfully, but these errors were encountered:
Also Odd Negative Scale need to be taken into consideration.
Sorry, something went wrong.
No branches or pull requests
in gbuffer_vs.hlsl:
o_vtx.normal = mul(instanceMatrix, float4(i_vtx.normal, 0)).xyz;
o_vtx.tangent.xyz = mul(instanceMatrix, float4(i_vtx.tangent.xyz, 0)).xyz;
o_vtx.tangent.w = i_vtx.tangent.w;
need to use transpose(inverse(instanceMatrix)).
The text was updated successfully, but these errors were encountered: