Monday, 15 August 2011

opengl - UV Texture oddity in textureUnits, openscenegraph -



opengl - UV Texture oddity in textureUnits, openscenegraph -

i having issues textures. have model open .osg refer here such here. have 1 texture in textureunit 0 acts base of operations texture. have sec texture in textureunit 1 acts label of sorts. apply rgba texture in there should transparent on model in openscenegraph. this:

the grayness areas base of operations texture. darker areas uv coordinates move off border of texture itself. cant seem able remove dark areas. ideas?

you need set border clamping mode -- dark of texture border color creeping in. seek setting gl_clamp_to_edge​ texture wrap mode.

opengl openscenegraph

No comments:

Post a Comment