Skip to content

Commit 27b39a1

Browse files
model vertex color fixes (#95)
- move folder to correct category from mesh to model folder. - corrected included scripts "vertexcolor.vp"
1 parent 4f64bd1 commit 27b39a1

File tree

9 files changed

+1
-1
lines changed

9 files changed

+1
-1
lines changed

mesh/modelvertexcolor/example.md renamed to model/modelvertexcolor/example.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ tags: model
44
title: Model Vertex Color
55
brief: This example demonstrates how to apply a vertex color shader using exported attributes from a 3D model.
66
author: Agustin R.
7-
scripts: vertexcolor.fp, vertexcolor.fp
7+
scripts: vertexcolor.vp, vertexcolor.fp
88
---
99

1010
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.

0 commit comments

Comments
 (0)