Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
在 GLSL 1.50(或更高版本)中使用该函数在立方体贴图中进行查找时
gvec4 texture( gsamplerCube sampler, vec3 P, [float bias]);
P 必须是单位长度向量 - 还是任何非零 vec3 都是有效输入?
不,它不必被标准化。