Skip to main content

Questions tagged [vertex-colors]

Vertex colors are color values that can be stored with each vertex in a mesh. This tag is for anything related to them.

Filter by
Sorted by
Tagged with
4 votes
1 answer
7k views

How to export vertex colors

this is a follow-up to this other question. I now have a mesh with vertex colors applied as attribute inside the Object Data Properties. I have tried to export this mesh into various formats, ...
0 votes
2 answers
1k views

Getting color at each vertex with python

I wrote this script to put vertexes and their colors into a JSON file for a project I'm working on. I was using this answer to get the colors. Here's the script that I wrote with that. ...
0 votes
1 answer
1k views

How to paint vertex alpha in the new version for unity?

https://youtu.be/DMS1I-gJkzE According to google, making bottom vertecies opaque and top ones transparent should fix the sliding grass issue. https://www.youtube.com/watch?v=1QbpCZuGe7M I tried ...
0 votes
0 answers
10 views

Blender Not exporting vertex alpha into .glb

Blender Version: 4.1.1 When attempting to export vertex colour alpha for masking, it doesn't get exported at all. RBG channels export correctly, but alpha is completely missing This is not an issue on ...
0 votes
1 answer
22 views

How to smooth between colored faces

To start with, I have vertex color and color the faces between them based on vertex color. But as you can see in the images clearly that triangles are obvious. I want to find a way to smooth the color ...
0 votes
1 answer
46 views

code that works in blender 3.5 but not as expected in blender 4.1

premise The code below is intended to duplicate an object and change the vertex color of the duplicated object. Select the object called "ic" and run it. Ultimately, I want to change the ...
2 votes
1 answer
36 views

How to change shading detail?

I want to do something about triangle vertex shading and give vertices of a triangle red, green and blue like this. The color of the triangle face is decided automatically by smooth shading. Is there ...
0 votes
1 answer
101 views

Export vertex colors (color attributes) of Protein Model to .usd file to present in Keynote

I am a blender beginner and plan use blender to visualise protein structures. Currently my workflow will be: Protein database >.stl> PyMOL >.gltf> Blender >.usd> Keynote. This will ...
0 votes
1 answer
302 views

How to sample vertex color in geometry nodes from a mesh onto another?

I've been trying to sample the (vertex) color of the grass from a plane which has been vertex painted, from what I could gather this should be done with attributes in the geometry node editor, I'm a ...
0 votes
0 answers
23 views

How can I use cycles to bake vertex colors of multiple meshes at once?

I'm trying to bake lighting into vertex colors of meshes in a scene, using the following method: change to Cycles rendering (Render > Render Engine > Cycles) Add a color attribute to each 3D ...
3 votes
0 answers
32 views

Error creating a color_attribute slot and bakes the AO onto this slot for multiple Objects

I need a script, that batch processes the selected objects, creates a color_attribute slot and bakes the AO onto this slot. This works fine with individual objects. However when I try to boundle it ...
0 votes
1 answer
90 views

How to get bmesh vertex colors in Blender 4.0?

There's several answers on how to get vertex colors here on StackExchange, but something seems to have changed in 4.0 because none of them work. bmesh.loops.layers.color[0] returns index out of range
2 votes
1 answer
45 views

Can I convert color attribute to mask?

Good day. I need to adapt blender material to UE5, but this engine doesn't support color attributes, so I need to replace it with texture mask. Can I convert these color attributes to masks? Blender's ...
0 votes
1 answer
674 views

Color into Alpha - Nodes and Vertex Paint

As a way of easily blending materials together on a single object, and to allow me to do so on arbitrary parts of the model (without needing to segregate a specific part of the model's UV map or ...
2 votes
1 answer
515 views

Can someone please help me get at the textures of this Sketchfab model?

For reference, the model is here: https://sketchfab.com/3d-models/otto-the-autopilot-7db2b78e311a44ac9b84b1bb6f768413. It's a very nice free model of a classic movie "character", the likes ...
4 votes
1 answer
2k views

Weight paint only working on some vertices? [v2.73]

I am trying to weight paint a mesh for a unity game, and only a few if any of the vertices are being painted. This is something I was able to do a while back in version 2.49, but now it doesn't work. ...
1 vote
1 answer
60 views

How to differentiate vertices with a weight of zero in the active vertex group and vertices which are not referenced in the active vertex group?

I have already set the Zero Weights option to Active (Viewport Overlays > Zero Weights > Active) so that vertices which have a weight of zero in the active vertex group and vertices which are ...
2 votes
1 answer
171 views

Is it possible to copy smooth vertex normal to the vertex Color channel?

Blue normals need to be copied to the vertex color. I have some low-poly models that need to be flat shaded so I want the vertex normals to be the split normals, but for custom shaders in Unity, I ...
0 votes
1 answer
477 views

How to visualize point cloud colors in Blender 4.0 after PLY data import?

Given the following data set which stems from the export of a photogrammetric scan: ...
1 vote
0 answers
40 views

How can I preserve face corner colors when doing a limited dissolve?

I have imported a model with vertex colors and plugged the Color Attribute to BSDF. Thanks to this thread I am able to merge vertices while preserving vertex colors and face corner colors by ...
0 votes
1 answer
43 views

How do you instruct Blender via .mtl file to import vertex colors?

I have a .OBJ file with vertex colors like: ...
0 votes
0 answers
42 views

Exporting vertex colors made with geometry nodes in .FBX for Unreal engine

I'm having trouble exporting vertex colors which I assigned via geometry nodes. The advice given in these posts: How to export vertex colors , How to keep vertex colors generated with geometry nodes ...
0 votes
0 answers
36 views

Blender Bug? .OBJ File Vertex Colors Misalign Under Various Conditions

I have found that Blender likes vertex colors to simply be an extension of the “v” line in .OBJ files, so I insert vertex colors into my .OBJ file by making a 6-element “v” instead of a 3- or 4- ...
1 vote
1 answer
36 views

Convert Color Atribute to Face Delete Color Attribute

When I convert Domain from vertex to Face of my Color Attribute, it delete it... Why ? Thanks !
0 votes
0 answers
36 views

Grease Pencil - Convert mesh to grease pencil with color Attributes

I have Converted a mesh with Color Attribute (vertex color) to grease pencil. It create solid Fill Shaders for each different Color Attribute but all are white ... Is it possible to keep all color ...
5 votes
1 answer
148 views

Merging vertices messes up the vertex colors. Is there any fix for that?

Merging vertices messes up the vertex colors. Is there any fix for that? Before merging by distance: After merging by distance: I am using blender 4.0: Here's the file:
29 votes
4 answers
43k views

How can I set and get the vertex color property?

I can't find a way to display RGB values (or equivalent) without using the python shell. I would like to get and set color values numerically (ie. not painting), I can't find it for weight painting ...
1 vote
0 answers
19 views

How to color or overlay on vertices via the Python api? [duplicate]

For a plugin I am making, I need to highlight the vertices that the user hovers over. I could not work out this color assignment part yet. I have tried methods then found out they were obsolete. I ...
0 votes
1 answer
61 views

How to view two objects with different color sources in the same viewport shading?

I am quite new to blender and I'm having trouble rendering the following environment. I have a car in that has been created in blender and has been appended to the project, and the background house, ...
1 vote
0 answers
37 views

Blender does not import correct color from images

Im trying to make a product design in 3D for a friend but the colors just wont match the original image. Its exported from cymk illustrator. How to fix please
0 votes
3 answers
3k views

Bake lights (lamps) to vertex color

Is it possible to somehow bake vertex colors from lamps?
2 votes
2 answers
2k views

How can I reset a Grease Pencil object's vertex colors?

This is my blend file. It has 2 GP objects. In object mode everything is colored correctly. If I switch from solid mode to Material preview or display render preview mode The GP Objects turn ...
0 votes
1 answer
70 views

Microsoft Powertoys renders STL with color data on thumbnail, how can i bring it to blender?

I have my STL files on the folder and powertoys are installed on my PC so i can review STL files. I noticed that Powertoys are actually rendering color to them, which is odd as i thought STL files don'...
1 vote
1 answer
3k views

Vertex Colors Option Not Visible

For some reason under data options vertex colors does not show under the UV Maps. I have went into Shader Editor and went to add and searched for vertex colors however nothing pops up. I've tried ...
2 votes
0 answers
107 views

Geometry Nodes: How to make a vertex color gradient on a tree depending on distance to root point?

I'm trying to create a vertex color gradient on a mesh created by converting a branch made with hand drawn curves to a mesh using geometry nodes. I want to color each edge ring on the created mesh ...
1 vote
1 answer
139 views

Get the length of the longest spline in Geometry Nodes [duplicate]

I'm working on a tree that needs to have a vertex color gradient depending on how far each vertex is along the branches of the tree, normalized in a 0-1 range. To do this I'm trying to get the length ...
0 votes
1 answer
104 views

How to split vertices by vertex color

I'm using vertex colors, since that's what my minimal game engine understands, but it only understands them on a per-triangle basis, and cannot interpolate across a triangle. Blender internally seems ...
0 votes
0 answers
112 views

Vertex color applied on curves with geometry nodes wont display on Solid Flat in Blender 3.5

On Blender 3.4.1, after applying a geometry nodes modifier with a set vertex color to a curve, you can display that curve with flat vertex color on the Solid > Flat > Attribute. However, from ...
1 vote
1 answer
1k views

How can I assign material colors to a color attribute?

For the record I'm asking this question because it was brought up by a member recently and deleted under my eyes while I was clicking on the submit answer button, but I think it was a worthy question ...
0 votes
1 answer
81 views

Apply random greyscale vertex colour to every element of an object using geometry nodes

I'm trying to use geometry nodes to make an ID map I can bake. I'll be baking in external software so ideally this would be vertex colour that can be exported in an FBX file. Applying colour based on ...
0 votes
1 answer
245 views

Can't get 2 Dynamic Paint Canvases to render at once - Blender 2.8

Trying to render both the waves and trail of a boat using 2 dynamic paint canvases, one of the Waves Surface Type, and one of the Paint Surface Type. The two show up together perfectly in the viewport,...
3 votes
1 answer
293 views

Packing float32 to vertex color

I am learning vertex animation textures. Already used UV.x as normalised vertex index to animate a flag and it works great. I don't have access to uv2 ("game" engine still under in dev ...
0 votes
0 answers
34 views

How do you transfer weight paint or vertex colors to another model in blender?

I got a model then rigged it with AccuRig. When I imported the model into blender, the colors were all gone. So I tried transferring the vertex colors. That didn't work. Then I tried transferring the ...
0 votes
0 answers
140 views

Converting vertex colours to UV coordinates

So I've got a colour attribute that needs to be converted into a UV map. My color attribute just so happens to only be using R and G values, and what I want is for the R value to be converted into the ...
1 vote
0 answers
48 views

Above Threshold and Below Threshold in DataTransfer Modifier?

I'm working on DataTransfer Modifier to blend vertex color of 2 colors layer , it worked but i dont understand how Mix Mode : Above Threshold and Below Threshhold worked , i tried to modified Mix ...
0 votes
0 answers
46 views

Color Palette Swatches in UI

I'm using vertex paint to blend materials and i'd love to just have a red, green, blue swatches on the ui without having to go into the color picker every time Is there an option or addon to bring ...
0 votes
0 answers
65 views

How to make objects change color depending on color at a point on surface of another object they are closest to?

I wanted to try to create a shader which will take the information from a linked object, and based on the closer colour of the surface of that object, it will apply that same colour to the objects ...
0 votes
0 answers
301 views

Export .ply file from .blend file

I'm facing a problem exporting a .ply file with colour information from a .blend file in Blender 3.5. While in the blender my object is displayed with the right texture when I export the file in .ply ...
0 votes
1 answer
1k views

How to use a Color attribute with a Geometry Proximity node to change vertex color based on depth

The set up here is pretty straight forward. Take a shape, get its volume, generate leaves within that volume and set the vertex color based on how near the surface the leaf is. My solution was to use ...
0 votes
0 answers
91 views

Morph between vertex color from instancer

I have some trouble to morph between two vertex color. I made a morphing between two point cloud without problem, but when I try to morph vertex color, the first one is ok but second one stay black (...

1
2 3 4 5
7