HLSL 傻瓜教程,一個簡單的hlsl程式,返回一個材質的各點的顏色。 sampler s0 register s0 float4 main float2 ... rsq——1.0/sqrt(scar1)——標量方根倒數.
確定! 回上一頁