An open API service indexing awesome lists of open source software.

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

Awesome Lists containing this project

README

        

# Vertex Color Sample project ( Defold )

![](/docs/screen_vcolor.png)

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!