更新shader , 还没调试。
This commit is contained in:
@@ -23,4 +23,5 @@ void main() {
|
|||||||
// 如果渲染结果不正确,请检查 ubo_vs.model 的构成
|
// 如果渲染结果不正确,请检查 ubo_vs.model 的构成
|
||||||
gl_Position = ubo.proj * ubo.model * vec4(inPosition, 1.0);
|
gl_Position = ubo.proj * ubo.model * vec4(inPosition, 1.0);
|
||||||
fragColor = inColor;
|
fragColor = inColor;
|
||||||
|
gl_PointSize = 5.0;
|
||||||
}
|
}
|
||||||
Binary file not shown.
Reference in New Issue
Block a user