Ogre Version: :1.12.11 / double precision:
Operating System: :Windows 10:
Render System: :OpenGL3+:
Hi!
After upgrading to Ogre 1.12.11 the vertex colours of some submeshes are black. See attached images. Any ideas, directions?
thank you,
- George
Ogre 1.12.10:
Ogre 1.12.11:
Ogre 1.12.11 but this time I ignore the vertex colour in the shader and output red instead (just to make sure that this is not a shading problem):
Black vertex colours after upgrade from 1.12.10 to 1.12.11
- emc
- Silver Sponsor
- Posts: 41
- Joined: Mon Mar 20, 2006 12:43 pm
- Location: Athens/Greece
- Contact:
-
- OGRE Team Member
- Posts: 1993
- Joined: Sun Mar 30, 2014 2:51 pm
- x 1073
- Contact:
Re: Black vertex colours after upgrade from 1.12.10 to 1.12.11
so you mean some vertex colours still work and some other are broken?
this commit had some vertex attribute related fallout in GL and D3D9:
https://github.com/OGRECave/ogre/commit ... 2c81ec3514
you could try going back to its parent to see whether it is causing your issues as well.
Also, since 1.12.10, you can use RenderDoc on Windows to inspect whether the right data arrives at the GPU:
https://renderdoc.org/
this commit had some vertex attribute related fallout in GL and D3D9:
https://github.com/OGRECave/ogre/commit ... 2c81ec3514
you could try going back to its parent to see whether it is causing your issues as well.
Also, since 1.12.10, you can use RenderDoc on Windows to inspect whether the right data arrives at the GPU:
https://renderdoc.org/
- emc
- Silver Sponsor
- Posts: 41
- Joined: Mon Mar 20, 2006 12:43 pm
- Location: Athens/Greece
- Contact:
Re: Black vertex colours after upgrade from 1.12.10 to 1.12.11
Ok, there is nothing wrong with the code. For some reason the OgreMax exporter failed to generate colour_diffuse attributes for every submesh. For the missing vertex colours Ogre 1.12.10 passed white to the shader and 1.12.11 black. I'll fix my meshes
Thank you for your help Pavel
- George
Thank you for your help Pavel
- George