Unormalized vertex color. How to fix it?

User avatar
aerlenkoenig
Posts: 193
Joined: 17 Jun 2020 18:50

Re: Unormalized vertex color. How to fix it?

#11 Post by aerlenkoenig » 11 Dec 2021 16:24

xXCARL1992Xx wrote: 24 Oct 2021 10:18 this only works for parts that are colored solid, the moment you have AO on it you will basically destroy the vertex ao bake with it, in this case you need to use level or hue/saturation to change it and check with "Get Statistics" in the right SCS Tools panel that the max/average is at .5 or below
I have one question regarding this topic. I want to change the Scania logo of the Streamline to adapt it to truckpaint instead of chrome. When I export the model, I get following errors:

Code: Select all

WARNING SUMMARY:
================
> Object 'piece_0' from SCS Root 'front_grid_01_cab' has unormalized vertex color, some vertices use: 0.54118. instead of max 0.5
> Object 'piece_1' from SCS Root 'front_grid_01_cab' has unormalized vertex color, some vertices use: 0.70196. instead of max 0.5
When I adapt the vertex color to 0.5 via the Vertex Paint mode, I get the following ingame results:

[ external image ]

The modded part (right side of the picture) has a slightly brighter grid than the original part (left side of the picture). Is this due to the AO? Is there a way I get exactly the same color of the grid like the original? Or is it just trial and error?
User avatar
MatzeH
Posts: 301
Joined: 26 Jul 2017 15:11
Location: Saxony, Germany

Re: Unormalized vertex color. How to fix it?

#12 Post by MatzeH » 15 Dec 2021 16:26

@aerlenkoenig Two things you could do:

1) Make the grid a seperate object, clone its material and trim down the brightness of the diffuse color...
2) ... and/or bake an AO texture for it, the oldschool but more precise way.

At the current state i would always choose an AO texture over vcolor because the quality of the AO using the vcolor depents to much on the quality/resolution of the mesh. With AO as texture you get your own UV set which you can edit independent from the UV set of the diffuse texture to get more resolution/quality of the bake.
User avatar
aerlenkoenig
Posts: 193
Joined: 17 Jun 2020 18:50

Re: Unormalized vertex color. How to fix it?

#13 Post by aerlenkoenig » 18 Dec 2021 14:08

So AO baking it is. I am relatively new to Blender, thus I have no idea how to do AO baking. But I will have a look at it, no excuses. It is a lot of fun to learn new things in Blender and the results are very rewarding. But boy, does it take time.

Thank you very much, @MatzeH.
User avatar
all_zer
Posts: 52
Joined: 04 Apr 2014 07:51

Re: Unormalized vertex color. How to fix it?

#14 Post by all_zer » 14 Feb 2022 14:59

JUseeTV wrote: 24 Oct 2021 10:13 In the top bar menu you will find a color menu that is set to 1/white by default, click on the field and change it to 0.5 0.5 0.5 in RGB color space.
You mean this? [ external image ]

Can you please explaine more detailed... where and what to set?
Because, i still have this error [ external image ]
User avatar
Digital X
Posts: 2109
Joined: 28 Oct 2013 21:22
Location: Dover, Kent, UK.

Re: Unormalized vertex color. How to fix it?

#15 Post by Digital X » 14 Feb 2022 15:48

I do mine a little differently.

Click the white bar, click "HSV" and make the "V" 0.5. Every other value should be 0.

I don't know if it differs per model or material if you need RGB or HSV but this is just the way I do it.

[ external image ]

If you still get that vertex error try the following:

1. With your object selected, click "Object Data Properties" on the right hand side bar (green triangle) Under vertex colours you should have Col and Col_alpha.

2. Remove Col_alpha and export, if the error mentions Col_alpha is missing type it back in and export.

3. If that doesn't work, remove both then add in just Col, export. Then add in Col_alpha and export again.
User avatar
xXCARL1992Xx
Posts: 16506
Joined: 17 Aug 2016 12:18

Re: Unormalized vertex color. How to fix it?

#16 Post by xXCARL1992Xx » 14 Feb 2022 16:53

if you do this you loos al vertex AO baking on models that use it, you have to level the brightens out and make it darker until the average is 0.5 or below
CachyOS | !!!NO SUPPORT OR REQUESTS OF ANY SORT VIA PM!!! | Screenshot Thread | Steam Workshop | WoT Profil |
[ external image ]
User avatar
all_zer
Posts: 52
Joined: 04 Apr 2014 07:51

Re: Unormalized vertex color. How to fix it?

#17 Post by all_zer » 15 Feb 2022 21:51

I did it here. in material tab.
[ external image ]

Maybe works... but one more warning still remains [ external image ]

But one more warning, still exist...
even removing and adding col & coll_alpha didn't helps :(
[ external image ]
User avatar
Digital X
Posts: 2109
Joined: 28 Oct 2013 21:22
Location: Dover, Kent, UK.

Re: Unormalized vertex color. How to fix it?

#18 Post by Digital X » 15 Feb 2022 22:13

Not sure to suggest, because here is the same way viewtopic.php?t=303189
User avatar
aerlenkoenig
Posts: 193
Joined: 17 Jun 2020 18:50

Re: Unormalized vertex color. How to fix it?

#19 Post by aerlenkoenig » 04 Mar 2022 19:43

A question regarding unormalized vertex color. In the error message it is written that the value must not exceed 0.5. When I import SCS vanilla parts and export them again without editing, I also get this error message from time to time, because some objects have vertex color values greater than 0.5. Why do these objects have values greater than 0.5, although you are "not allowed" to export them greater than 0.5? Is there a disadvantage when I export objects that have a value higher than 0.5? Because ingame I have not noticed any difference, only that objects with higher values appear correspondingly brighter or less shady.
User avatar
Dotec
Posts: 1601
Joined: 20 Dec 2012 15:52
Location: Stuttgart, Germany

Re: Unormalized vertex color. How to fix it?

#20 Post by Dotec » 04 Mar 2022 19:55

it isn't an error message. It's just a warning and doesn't affect the export process

Return to “Blender Tools”

Who is online

Users browsing this forum: CCBot [Bot]