Skip to content

Commit b661a98

Browse files
committed
Pass vertex colors
1 parent b500d3a commit b661a98

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Sources/GateEngine/System/Rendering/SystemShaders.swift

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -21,6 +21,7 @@ extension VertexShader {
2121
vsh.modelViewProjectionMatrix * Vec4(vsh.input.geometry(0).position, 1)
2222
vsh.output["texCoord0"] =
2323
vsh.input.geometry(0).textureCoordinate0 * vsh.channel(0).scale + vsh.channel(0).offset
24+
vsh.output["color"] = vsh.input.geometry(0).color
2425
return vsh
2526
}()
2627

0 commit comments

Comments
 (0)