Johannes,

Were you able to solve your problem ? I have just developed some code using Texture2DArray for shadow projection and CLAMP_TO_BORDER seems to work there. Maybe something else is wron in your example ? Actually I looked at your example again and it does not match the description. You say that you add two images but example clearly shows that you access one layer of Texture2DArray. I guess something like your code could maybe work with Texture3D where linear filter would interpolate between two layers. But Texture2DArray works like nearest on the trhird coordinate. Write more about your problem maybe we could help if you still need it.

Cheers,
Wojtek




----- Original Message ----- From: "Johannes SchA1th" <[email protected]>
To: <[email protected]>
Sent: Monday, October 05, 2009 6:54 PM
Subject: Re: [osg-users] Texture Wrapping Texture2DArray (Clamping doesn'twork)


If i had read the specs earlier i would probably also remember the section you mentioned.

Are there any other possible issues regarding this problem?


Wojciech Lewandowski wrote:
Hi Johannes,
My apologies, I must have misinterpreted this pragraph of the spec:



Otherwise i'm really stuck here.

Greetings

Johannes

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=17908#17908





_______________________________________________
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