Page MenuHome

GLSL + VBOs
Closed, ResolvedPublic

Description

With VBOs and GLSL enabled VCols dont show up on VCol based materials

Details

Type
Bug

Event Timeline

Lucas: are you around to check on this?

Would be easier if there was a sample file of a "VCol based material". I'll have a look at it now.

Ah.. I think I found the problem.

Sorry, I haven't been able to build blender with VC9, haven't done that for a while now. I might look into it later.

Lukas: If you visit irc, I'm sure Andrea (elubie) or Nathan (jester) can assist with getting visual C to work. They use cmake to generate these files, which should go all fine.

Changed the 4th parameter for glVertexAttribPointerARB in GPU_interleaved_attrib_setup from GL_TRUE to GL_FALSE and it seems to work. It's got something to do with normalization of vertex data. Commited to SVN, r33314

Than you Lukas, I can confirm it works, even with animated vcols!

closing

Daniel Salazar (zanqdo) closed this task as Resolved.Nov 25 2010, 7:24 PM