Vertex Color bug in OpenGL

Materials, textures, lighting, postfx
3 posts Page 1 of 1
Duion
Posts: 1335
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Mon Feb 11, 2019 12:50 pm
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?
Azaezel
Posts: 460
Joined: Tue Feb 03, 2015 9:50 pm
 
by Azaezel » Mon Feb 11, 2019 2:43 pm
Duion
Posts: 1335
Joined: Sun Feb 08, 2015 1:51 am
 
by Duion » Mon Feb 11, 2019 4:43 pm
Thanks, yes that solved it.
3 posts Page 1 of 1

Who is online

Users browsing this forum: No registered users and 6 guests