Page MenuHome

VBOs and Textured Solid and Multiple Materials don't work together
Closed, ResolvedPublic

Description

Relates to: T25882

Turning on the VBOs option in the preferences causes the texture to get messed up on the faces with the second multiple material assigned. Once you enable VBOs you may have to tab in and out of edit mode to see the issue.

To recreate the bug:

Unwrap the object, and open an image texture for the UV.
Add the same image as a texture on the material with UV coordinates.
Add a material slot so the object has 2 (multiple) materials.
Change the material color for one of the materials so you can see the difference without textures.
Assign one face to the second material.
Then enable VBOs option in the preferences.

The texture on the second material will get all messed up when the Textured Solid display option is selected and the 3dview is Solid Shaded.

Same thing happens with VBOs enabled when you go to texture paint mode, and use Multitexture or Texture Face display setting, and have textured shading for the 3dview turned on.

2.56 r34076 Official 2.56 release
2.56.0 r34454
2.56.0 r34481
Windows 7 64bit
Nvidia GTX 460

Details

Type
Bug

Event Timeline

Lukas, could check this?

I do know we had reports in the past that some gfx drivers versions don't like material switches inside objects. This was always a driver glitch...
Andrew: you could check on driver settings (disable any optimizers you don't trust) and check if newer stable drivers exist.

It occurs only for multitexture/texface viewing. GLSL is correct.

I was using an older driver(259.22) , I updated to the latest Nvidia Drivers(266.58) today, but the error still occurs with VBO's turned on. I am not sure, but it could be buggy OpenGL drivers for the gtx460, i have read that there are other performance issues with high poly in the 3D View.

i have the same problem with a GTX 275. i will test the issue on a 9800GTX later. i have the driver settings on performance so all fancy stuff should be disabled.

solved, see patch #26018 ;) , also attached here for convenience

Lukas Steiblys (imbusy) closed this task as Resolved.Mar 8 2011, 5:59 PM