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
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
26 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'...
0 votes
1 answer
430 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 ...
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. ...
0 votes
1 answer
612 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
0 answers
69 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 ...
0 votes
1 answer
58 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
22 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
56 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 ...
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 ...
1 vote
1 answer
147 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
44 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
221 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
259 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
23 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
78 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
36 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
27 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
49 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
115 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
0 answers
125 views

Exporting generated point cloud to Unreal with color data

I'm an art student from Paris, used to work with blender and pointclouds, and I have a ploblem that I can't seem to be able to solve. My workflow is (most of the time) what follows : Modeling mesh >...
0 votes
1 answer
355 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
37 views

Getting stuck in baking vertex colors from texture

Operating System: Ubuntu 18.04 LTS Python Version: Python 3.10.11 Anaconda BPY Version: bpy-3.5.0 (installed by pip) I was trying to use ...
0 votes
0 answers
77 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 (...
0 votes
0 answers
88 views

Export vertex colors in .abc alembic

I am unable to export an alembic with vertex colours. I have a cube with some vertex colours on it that I would like to export as an alembic but on reimport, in a different file, the colour attribute ...
0 votes
0 answers
78 views

Export animated vertex color as .fbx

Is it possible to export animated vertex colours, here created with a geometry nodes graph? The values animate from 1 to 0 and from 0 to 1, and the Color out is assigned to the colour attribute. The ...
1 vote
1 answer
34 views

File format or method of exporting per-vertex roughness values

I am working on a project that necessitates an automated export of blender objects with materials to basically any file format that supports diffuse and roughness maps. However, some objects have ...
0 votes
0 answers
31 views

Segment mesh based on vertex colors. Vertex Colors / Geometry Nodes

How would one segment or divide a large complicated mesh based on vertex colors. I have some large mesh files that were generated from a point cloud and the color data does a great job of showing ...
0 votes
1 answer
91 views

Script that will assign vertex color based on distance from cursor

my goal is to create an operator script that will add the specified color to the vertex color of the selected object based on distance (and lambert using the normals facing). this will essentially ...
5 votes
2 answers
18k views

Bake vertex colors to texture from mesh

This has been asked before but I can't find the solution now. The solution was something about going into blender render, setting the bake type to vertex colors and then just baking but I'm just ...
0 votes
1 answer
73 views

Transferring vertex colour info to alpha channel

Is it possible to transfer the vertex colours in a mesh from the rbg channels to the alpha channel after they have been desaturated? thanks. I tried using chatGPT to create a script to do it but ...
1 vote
0 answers
20 views

Is there a way to make the same form sculpt mode smoothing in texture paint?

Is there a way to integrate more the one color with smoth in texturing painting?
1 vote
2 answers
560 views

Vertex color – setting alpha value on selected vertices

I’ve been given a task by the game programming team to create a shape with vertex color and alpha values on designated vertices. I managed to crack the vertex color part of the task, unfortunately I ...
0 votes
0 answers
135 views

Copy Vertex Color from specific face (one object) to selected faces (another object)

I found only one way to transfer vertex colors from one object to another object: via Ctrl+L transfer Mesh Data, but this transfers all vertex colors and with different topology actually randomly (all ...
0 votes
0 answers
89 views

Only paint the paint mask selected faces in vertex paint

I'm using the latest blender stable build: 3.5, in past versions it worked fine to just activate paint mask, and it only painted the selected face. Now, it suddenly stopped working with the latest ...
0 votes
0 answers
23 views

What is a good workflow to draw an irradiance distribution of a lamp? A cone with a light-like look is the goal

I would like to draw a distribution of irradiance of a light. The plan that I went about is to generate a heat map independent of Blender. So I have a csv file that has a heat map containing the ...
1 vote
1 answer
72 views

How to get vertex colors efficiently?

I need to export vertex colors from Blender to a custom mesh format. To do it, I need to create a dictionary where the vertex index is a key and color is a value, as proof of concept I wrote this but ...
0 votes
0 answers
12 views

Not able to export color and textures [duplicate]

I want to export the .blend file into another formats such as .dae or .fbx. But I could not export the model with color and textures. For example I want to export color model. 2 But I get model ...
0 votes
0 answers
155 views

Blender isn't reading color attributes from USD?

I'm recently learning about USD and it seems like a simple process to include color data with a mesh but I'm not seeing anything included in blender after import. I'm using this page https://docs....
0 votes
1 answer
20 views

I click on one object, while in vertex paint, it shows it's colors, but it will not show any other objects colors

I'm new to blender. I click on one object, while in vertex paint, it shows it's colors, but it will not show any other objects colors.
1 vote
1 answer
115 views

Randomize Color of an Object with Multiple Meshes

I'm making a container with multiple meshes inside and I want to randomize the color when I duplicate it. Like the left red one in the picture I want to change its color between blue/red/green but ...
0 votes
1 answer
311 views

How to make one color attribute for 2 separate objects?

I have 2 objects that I cannot connect to a common mesh, but at the same time I need to paint them together. Can I do this?
0 votes
0 answers
47 views

Why are my Vertex Colors not being rendered in Python API?

I'm rendering a mesh with vertex colors, but cannot get the colors to render. I'm using blender python 3.4.0 Here's what I tried: ...
3 votes
1 answer
904 views

Getting and using the selected Color Attribute

Fairly new to blender python, though have some experience with python outside of blender, I'm trying to work out why this bit of code is only ever working on the first color attribute and not the ...
1 vote
1 answer
270 views

Accessing color_attributes for every vertex in Blender script

How can I access the color_attribute stored for each vertex and store it in an array using Python in Blender 3.4? Using ...
0 votes
0 answers
62 views

Assign and show vertex color in edit or object mode for a point cloud

I have displayed a point cloud after writing the following code. ...
0 votes
0 answers
44 views

bpy: Limit vertex colors exported with fbx to one

When I export with gltf, the fbx contains 1 vertex color channel set using "obj.data.color_attributes.render_color_index=col_index" When I attempt to do the same for fbx, but I have say 3 ...
0 votes
0 answers
538 views

How to render mesh in .ply with vertex color?

I'm quite new to blender and I'm trying to render some meshes in .ply format shown below. ...
0 votes
1 answer
262 views

Vertex Paint Alpha Channel - Paint Exact Value

I'm currently making use of the full RGBA components of vertex paint, where RGB stands for color and A for blend height inside a shader. The shader basically uses alpha 0.0 to 1.0 to set different ...

1
2 3 4 5
7