HLSL shaders can be precompiled into a shader object or compiled at ... float3 light_dir = normalize(light_pos - input.fragment_pos); ...
確定! 回上一頁