Hi Lars,
Lars Bilke wrote:
> My question is: are there any differences in handling the faces of a
> cube texture in a SkyBackground and in a CubeTextureChunk, GLSL shader??
>
The problem is that the SkyBackground is based on the VRML
specification, and CubeTexture come from OpenGL, and (of course) the two
don't match. :( So I don't think you will be able to just use the same
textures for Sky and Reflection, you will need to flip them for one of
the two and have separate images.
The alternative would be to add a flag to the SkyBackground to
optionally flip the needed images to match the CubeTexture. If you want
to create a patch for that we'd be happy to get it into the system.
Yours
Dirk
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users