Let's assume we're using Direct3D and HLSL. Converting to Tangent (or texture) space ... float3 lightdir = normalize(lightdirtangentin);
確定! 回上一頁