Jump to content

Vertex Color bug in OpenGL


Recommended Posts

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:


lighthouse_vertexColors_openGL.jpg


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


lighthouse_vertexColors_directX.jpg


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

Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...