Skip to content

Commit

Permalink
Update comments
Browse files Browse the repository at this point in the history
  • Loading branch information
FarazzShaikh committed Sep 21, 2024
1 parent 4980a3d commit a7151cd
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions src/maps/keywordMap.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
export const keywordMap = {
// PBR
// PBR (frag)
diffuse: "csm_DiffuseColor", // Color + alpha
normal: "csm_Normal", // Vertex Normal
roughness: "csm_Roughness", // Roughness
metalness: "csm_Metalness", // Metalness
emissive: "csm_Emissive", // Emissive
Expand All @@ -16,12 +15,13 @@ export const keywordMap = {
iridescence: "csm_Iridescence", // Iridescence

// Extras
pointSize: "csm_PointSize",
fragColor: "csm_FragColor",
depthAlpha: "csm_DepthAlpha", // Depth
unlitFac: "csm_UnlitFac", // Unlit factor
pointSize: "csm_PointSize", // gl_PointSize (Frag)
fragColor: "csm_FragColor", // gl_FragColor (Frag)
depthAlpha: "csm_DepthAlpha", // Depth (MeshDepthMaterial)
unlitFac: "csm_UnlitFac", // Unlit factor (mix between csm_FragColor and csm_DiffuseColor)

// Vert
position: "csm_Position",
positionRaw: "csm_PositionRaw",
position: "csm_Position", // gl_Position
positionRaw: "csm_PositionRaw", // gl_Position (without projection)
normal: "csm_Normal", // Vertex Normal
};

0 comments on commit a7151cd

Please sign in to comment.