Message 1 of 4
Get color per face/vertex?

Not applicable
04-21-2010
07:00 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
So I have a sphere that I've assigned the default ramp to (blue - green - red) and I'm trying to obtain the color at each vertex; HOWEVER, when I call cmds.polyColorPerVertex() every vertex's color is black (0,0,0), unless I set it using the same command first.
Is there a way to sample color by vertex (or face) from a poly object stricly based off of it's shader's properties?
- forni
Is there a way to sample color by vertex (or face) from a poly object stricly based off of it's shader's properties?
- forni