Hi Selman Abi,

What do you mean you can't pass textures to shaders? Textures are separated
from models or they are integrated combination? If they separated you can
easily pass texture in uniform variables, or they are combined with model
like ive Terrain models there can be problem as you said.

Best Regards.

2009/1/13 Lukas Diduch <[email protected]>

> Play around with the notify level for debug info.
> (from doc:)
>
> export OSG_NOTIFY_LEVEL=
>
>    * ALWAYS
>    * FATAL
>    * WARN
>    * NOTICE
>    * DEBUG_INFO
>    * DEBUG_FP
>    * DEBUG
>    * INFO, will also enable validation of shader programs
>
>
> On Tue, Jan 13, 2009 at 05:33:27PM +0200, selman duatepe wrote:
> > Hi everyone,
> >
> > I want to render *ive* model with textures by shaders. But, I can't pass
> the
> > textures to fragment or vertex shader.
> >
> > Any ideas?
> >
> > Thanks.
>
> > _______________________________________________
> > osg-users mailing list
> > [email protected]
> >
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>



-- 
Ümit Uzun
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to