首先创建一个Geometry Shader的实例geo,它接收顶点作为输入,输出一个三角形来代表叶片。 struct geometryOutput { float4 pos : SV_POSITION; }; [ ...
確定! 回上一頁