Hi Enrico,

On Mon, 2005-04-04 at 11:30 +0200, Enrico Borrione wrote:
> hi OpenSG users,
> i am trying to make a little order in my application
> (the code is getting a bit confused, in time).
> One thing i noticed is that i am still reducing my 
> textures from 16 bit to 8 offline. This was due the 
> fact that when i first wrote the app, OpenSG still did
> not support the 16 float format.
> Now i'd like to load the textures in their native format
> and then process them during the rendering cycle via 
> some appropriate GLSL shaders. 
> My problem in: the skybox does not seem to use any
> geo node, so i can't see how can i attach a shader 
> to it... It would be pointless to have half the app 
> loaded with 16 bit textures and the other half using
> the old code... 
> any clue?

You can use the 16 bit textures directly, OpenSG will pass them through
to OpenGL, which I guess will internally convert them to 8 bit. But
without a shader.

To get a shader in there the SkyBackground would need to keep and use a
Material for the background texture. That's a little more work than I
have time for right now. I've added it to the Feature Requests list, but
I can't give you an ETA right now.

Yours

        Dirk

-- 
-- Dirk Reiners               OpenSG Forum             [EMAIL PROTECTED] 
-- The OpenSG Open Source Scenegraph:            http://www.opensg.org
-- Join the list at    http://lists.sf.net/lists/listinfo/opensg-users



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users

Reply via email to