In short: You can't return an array of floats defined in the function in HLSL. HLSL code (on the GPU) is not like C code on the CPU.
確定! 回上一頁