From 6a5b5d9d5d570a06ffd8faacf756ad9e6fab4609 Mon Sep 17 00:00:00 2001 From: Xiang Silian Date: Wed, 17 Sep 2025 23:36:27 +0800 Subject: [PATCH] =?UTF-8?q?=E6=9B=B4=E6=96=B0shader=20=EF=BC=8C=20?= =?UTF-8?q?=E8=BF=98=E6=B2=A1=E8=B0=83=E8=AF=95=E3=80=82?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- shaders/texture_loading/glsl/pointcloud.vert | 1 + .../texture_loading/glsl/pointcloud.vert.spv | Bin 1496 -> 1560 bytes 2 files changed, 1 insertion(+) diff --git a/shaders/texture_loading/glsl/pointcloud.vert b/shaders/texture_loading/glsl/pointcloud.vert index e5e50d6..f4e7927 100644 --- a/shaders/texture_loading/glsl/pointcloud.vert +++ b/shaders/texture_loading/glsl/pointcloud.vert @@ -23,4 +23,5 @@ void main() { // 如果渲染结果不正确,请检查 ubo_vs.model 的构成 gl_Position = ubo.proj * ubo.model * vec4(inPosition, 1.0); fragColor = inColor; + gl_PointSize = 5.0; } \ No newline at end of file diff --git a/shaders/texture_loading/glsl/pointcloud.vert.spv b/shaders/texture_loading/glsl/pointcloud.vert.spv index 6a729f8d242c3a66d41f910caaa89852508ce602..5d48cd8187c87470aabcd4ea9499c48d7c3cf5fd 100644 GIT binary patch delta 98 zcmcb?J%fjrnMs+Qfq{{Mn}L@>ZzJzy7Flfu76vv31_o^)W?)$0paA6S09njH%(i(h hi!q~yBLgc~NEax?3&i3;YzI^T;)AsP1sZ4p!~hP!30VLD delta 36 pcmbQibAy|gnMs+Qfq{{Mn}L@>dn4~;mdyuP3>Z270);Gq7yx%R21Eb=