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.

0 votes
1 answer
23 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 ...
BloodMachine's user avatar
0 votes
1 answer
26 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 ...
Kerei's user avatar
  • 43
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 ...
Kerei's user avatar
  • 43
0 votes
1 answer
47 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 ...
shimiken's user avatar
0 votes
0 answers
25 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 ...
Mornedil's user avatar
0 votes
1 answer
117 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
eobet's user avatar
  • 332
2 votes
1 answer
49 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 ...
Сергей's user avatar
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 ...
Erdorano's user avatar
  • 127
1 vote
1 answer
64 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 ...
Bouloubaga's user avatar
2 votes
1 answer
203 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 ...
Benni's user avatar
  • 23
0 votes
1 answer
135 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 ...
Mork's user avatar
  • 1
1 vote
0 answers
42 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 ...
Harry McKenzie's user avatar
0 votes
1 answer
599 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: ...
Markus W.'s user avatar
  • 179
0 votes
1 answer
45 views

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

I have a .OBJ file with vertex colors like: ...
Harry McKenzie's user avatar
0 votes
0 answers
50 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 ...
otto's user avatar
  • 57
0 votes
0 answers
40 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- ...
L. Spiro's user avatar
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 !
BLenjamin's user avatar
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 ...
BLenjamin's user avatar
5 votes
1 answer
155 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:
Richard Dickens's user avatar
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 ...
SKB_BGPL's user avatar
0 votes
1 answer
64 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, ...
diegobc11's user avatar
1 vote
0 answers
41 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
Ho Xin Yan's user avatar
2 votes
0 answers
114 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 ...
Adkopras's user avatar
1 vote
1 answer
157 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 ...
Adkopras's user avatar
0 votes
1 answer
122 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 ...
cnlohr's user avatar
  • 1
0 votes
0 answers
115 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 ...
JL7's user avatar
  • 1
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 ...
Gorgious's user avatar
  • 31.6k
0 votes
1 answer
86 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 ...
otto's user avatar
  • 57
0 votes
0 answers
37 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 ...
Blender Theo's user avatar
0 votes
0 answers
147 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 ...
mienaiKnife's user avatar
0 votes
1 answer
89 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'...
JackieSparrow's user avatar
1 vote
0 answers
49 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 ...
Hee Lee's user avatar
  • 11