From bfb0d18559d67952df936ff789734e24dcbe2968 Mon Sep 17 00:00:00 2001 From: sean tai <105983513+seantai@users.noreply.github.com> Date: Fri, 20 Sep 2024 11:09:54 +0200 Subject: [PATCH] Update README.md vec3 -> vec4 csm_PositionRaw --- package/README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/package/README.md b/package/README.md index 1f30d4f..750d1e2 100644 --- a/package/README.md +++ b/package/README.md @@ -141,7 +141,7 @@ CSM provides the following output variables, all of them are optional but you MU | Variable | Type | Description | Available In | Notes | | ---------------- | ------- | --------------------------------------------------------------------------------------------------------------------- | --------------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------- | | csm_Position | `vec3` | Custom vertex position. | Vertex Shader | csm_Position will be projected furthur down the line. Thus, no projection is needed here. | -| csm_PositionRaw | `vec3` | Direct equivalent of `gl_Position`. | Vertex Shader | | +| csm_PositionRaw | `vec4` | Direct equivalent of `gl_Position`. | Vertex Shader | | | csm_Normal | `vec3` | Custom vertex normals. | Vertex Shader | | csm_PointSize | `float` | Custom gl_PointSize. | Vertex Shader | Only available in `PointsMaterial` | | - | - | - | - | - |