|
@@ -4,7 +4,7 @@ tags: model
|
|
|
title: Model Vertex Color
|
|
|
brief: This example demonstrates how to apply a vertex color shader using exported attributes from a 3D model.
|
|
|
author: Agustin R.
|
|
|
-scripts: vertexcolor.fp, vertexcolor.fp
|
|
|
+scripts: vertexcolor.vp, vertexcolor.fp
|
|
|
---
|
|
|
|
|
|
Vertex color attributes are usually made up as a vector4 of floats represented as rgba(red, green, blue, alpha) channels. They can be applied to 3d models and exported from many 3d editor applications and are commonly used in games for many effects. This example we are displaying a 3d model with vertex color attribute through a shader. No textures or uv's are used to display the colors.
|