Page MenuHome

Vertex Paint ➔ Paint menu ➔ Smooth Vertex Colors could be improved
Confirmed, NormalPublicTO DO


System Information
Operating system: Windows 10 Pro 64-bit
Graphics card: NVIDIA GeForce RTX 2080 Ti

Blender Version
Tested: Blender 2.81 Alpha, September 18, 14:29:45 - b962aca8003d
Worked: never

Short description of error
Vertex Paint ➔ Paint menu ➔ Smooth Vertex Colors tool does not smooth other than direct loop neighbors.

Exact steps for others to reproduce the error

  1. Divide the default cube a few times (apply if subdivision is done with modifier).
  2. Enter Vertex Paint mode.
  3. Paint an area with black.
  4. Apply Paint menu ➔ Smooth Vertex Colors.
  5. The vertex paint is not smoothed other than direct loop neighbors.

Event Timeline

Philipp Oeser (lichtwerk) lowered the priority of this task from 90 to 30.

I did rB57e0e520e89b (and reading this report now I see, that I missed an optimization in vertex_color_smooth_looptag which I will fix in a bit), but cant really reproduce this operator behaving differently than 2.80 or 2.79 even.
I might be blind, but check (this should work with no mask, face mask, vert mask...)

Do you have an example .blend that behaves differently in master vs. 2.80 (or 2.79)?

Hi Philipp,

Thanks for picking this up.

Come to think of it I believe Smooth Vertex Colors worked in a previous version of the 2.81 alpha. I don't remember using it prior to 2.81, because I've been working with 2.80 since last year, and switched to the 2.81 alpha the moment it became available. I just assumed it still works correctly in the 2.8 release version, sorry for the confusion.

You should see an overall blur across all vertex colors, particularly visible along borders of painted areas. Right now nothing happens at all.

Hmm... I tried your example scene, and in there the Smooth Vertex Colors tool works.

My mesh has a much higher polygon count than your scene's plane example, but no matter how much I zoom in on the mesh and no matter how many times I repeat Smooth Vertex Colors, no change is visible.

I don't mind sending you my scene, but I'd rather not post it publicly. Is there a private way to get the scene to you?


P.S.: I've tried repeating the steps I described in my initial bug report above, and even on a cube that's not subdivided, if you paint one vertex in a color, applying Smooth Vertex Colors does nothing.

Somehow only your example scene's plane does show any result from Smooth Vertex Colors. Did you fill the faces using Face Selection Masking? I'm simply painting on vertices, without masking.

It seems like it only works if you paint using the paint mask..

That seems to be the case indeed. If the only purpose of Smooth Vertex Colors is to smooth absolute, mask-filled faces to their directly surrounding vertices, then the function works. But the tool name suggests it will smooth / blur all vertex paint, which would be much more useful, eliminating the need to manually blur everything.

My understanding is the same. It's used to blur face corner colors into all the adjacent corners, but it doesn't actually blur like in Weight paint or with the blur brush.

My suggestion: Rename this one to Smooth corners, and bring Smooth from Weight paint into Vertex paint.

I agree with @Wo!262 (wo262) . Renaming the tool to something like 'Smooth edges' would avoid confusion.

A blur all vertex colors function would definitely be very useful. You could also use the algorithm that's used for smoothing a Sculpt Mode mask in 2.81. Preferably the tool should options such as blur strength and iterations.


... And to complement a Blur All Vertex Colors function, a Sharpen All Vertex Colors function would also be very welcome.


Philipp Oeser (lichtwerk) raised the priority of this task from 30 to Normal.Sep 19 2019, 9:49 AM

OKi, summing it up we all agree that this tool could be improved (I agree and see the usecases for this).
But we should also note that this was always working like that, so stating something like Worked: 2.80 is just wrong...

I'll keep this as a TODO [should be fairly straightforward to implement], but deny it is a bug :)

Philipp Oeser (lichtwerk) renamed this task from Vertex Paint ➔ Paint menu ➔ Smooth Vertex Colors is broken to Vertex Paint ➔ Paint menu ➔ Smooth Vertex Colors could be improved.Sep 19 2019, 9:51 AM
Philipp Oeser (lichtwerk) updated the task description. (Show Details)
Philipp Oeser (lichtwerk) edited a custom field.