https://github.com/FlexYourBrain/sample-vertex-colors
Defold sample project - Vertex Colors
https://github.com/FlexYourBrain/sample-vertex-colors
Last synced: 4 months ago
JSON representation
Defold sample project - Vertex Colors
- Host: GitHub
- URL: https://github.com/FlexYourBrain/sample-vertex-colors
- Owner: FlexYourBrain
- License: mit
- Created: 2023-10-11T18:24:03.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-09-16T14:23:06.000Z (9 months ago)
- Last Synced: 2024-10-09T13:06:55.572Z (8 months ago)
- Language: Lua
- Size: 94.7 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-defold - Vertex Color Sample
README
# Vertex Color Sample project ( Defold )

This sample project shows the use of vertex color imported from glTF file and added to model component. The low poly ball displays vertex colors in its design. Shader vertex program uses the color attribute and in the fragment program varying color is then used to display the colors.
note: Vertex colors were applied to the 3d model in 3d authoring software then exported for display in defold.
If you run into trouble, help is available in the [Defold forum](https://forum.defold.com).
Happy Defolding!