Here's the line with the error:
float3 normalDirection = normalize(float3(
mul(float4(input.normal, 0.0), modelMatrixInverse)));
I have no clue about anything shader related, I'm just trying to fix a broken asset from the asset store. If you guys could fix this one line for me or explain what's wrong that'd be awesome. Thanks.
↧