Page 1 of 1

Vertex Color bug in OpenGL

Posted: Mon Feb 11, 2019 12:50 pm
by Duion
I found a bug that renders the vertex color painting of models wrong in OpenGL:

Here is an example of the lighthouse model I made, I use vertex color to add color variation to my models, so I don't have to use different textures, this is what it looks in OpenGL:

Image

And this is how it looks with DirectX and how it is supposed to look:

Image

Anyone an idea what is happening here and why the color scale is shifted towards something else?

Re: Vertex Color bug in OpenGL

Posted: Mon Feb 11, 2019 2:43 pm
by Azaezel

Re: Vertex Color bug in OpenGL

Posted: Mon Feb 11, 2019 4:43 pm
by Duion
Thanks, yes that solved it.