Forums > Jitter and gl_FrontMaterial.ambient binding only after

Sep 30 2012 | 11:45 pm

I’m using the OB3D material attributes in a (geometry shader with phong process in fragment) with :
gl_FrontMaterial.emission, gl_FrontMaterial.ambient, gl_FrontMaterial.diffuse, gl_FrontMaterial.specular, gl_FrontMaterial.shininess

it seems that it works only after i bind and then unbind a
I suppose the create a kind of binding??

Oct 01 2012 | 12:02 am

it seems that the OB3D ‘color’ attribute overrides the mat_.. attributes.
only after activate/desactivate, the mat_.. attributes becomes recognise by the shader

Oct 01 2012 | 1:47 am

if i send a color_matrix to a with a, it becomes impossible to send color or mat_ attributes either to the mesh or the material, FOR EVER …
Is there a way to get back control on the color and mat attributes for mesh, material and also shader….???
to desactivate the color_matrix?
I suppose, it’s linked to the way OB3D builds the Gl command list.

Oct 01 2012 | 4:03 am

hi Spa. please post an example patch and i might be able to advise you, or discover a new bug.

Viewing 4 posts - 1 through 4 (of 4 total)

Forums > Jitter