Hi Wojtek,

it works like a charm now!
Thank you!
Ricky

On Fri, Mar 12, 2010 at 1:20 PM, Wojciech Lewandowski <[email protected]
> wrote:

>  Hi,
>
> I had the same issue. Its a warnig while applying texture mode.  Do not use
> setTextureAttributeAndModes(). Use setTextureAttribute() instead. There is
> not such mode like GL_TEXTURE_2D_ARRAY. Texture2DArrays do not work with
> fixed pipeline. They are accessible only with shaders.
>
> Wojtek Lewandowski
>
> ----- Original Message -----
> *From:* Riccardo Corsi <[email protected]>
> *To:* OpenSceneGraph Users <[email protected]>
> *Sent:* Friday, March 12, 2010 1:03 PM
> *Subject:* [osg-users] texture2Darray problem
>
> Hi All,
>
> I have tried a sample application to make use of texture2Darray and
> associated sampler2DArray Uniform.
> I wrote my code based on some previous discussions on the mailing list
> archives.
>
> Unfortunately I keep on having GL errors during execution, in particular
> and "invalid enumerator" after applying the extension:
> GL_TEXTURE_2D_ARRAY_EXT           0x8C1A
>
> Attached you find the sample program producing the error.
>
> Can someone provide any hints?
> I'm on Win7 + nVidia gtx295, using osg-2.8.2
>
> Thank you,
> Ricky
>
> ------------------------------
>
> _______________________________________________
> 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
>
>
_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to