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.
fragment half4 fragment_shader(VertexOut vIn [[stage_in]]){ return half4(1,1,0.75,0.0); }
在每个顶点的示例绘图三角形程序中,我传递了这个片段着色器。
由于 Alpha 为零,因此不应有任何输出。更改 Alpha 不起作用
输出不随 Alpha 变化而变化