Pre-generated cube map
Hi all,
I've been trying to figure out how to get a pre-rendered cube map into a GLSL program. I assume that the cube map sampler is to be used, but I can't find any information on how the cube map texture is organized - is it one of those cross-cube layouts, six separate textures, some tile pattern..?
I'm going to do this for a sort of sky boxing effect (
) and I need to do it through GLSL, and it needs to be pre-rendered.
Thankful for any insights or pointers.
I've been trying to figure out how to get a pre-rendered cube map into a GLSL program. I assume that the cube map sampler is to be used, but I can't find any information on how the cube map texture is organized - is it one of those cross-cube layouts, six separate textures, some tile pattern..?
I'm going to do this for a sort of sky boxing effect (

Thankful for any insights or pointers.

I'm wondering if I'm misunderstanding you, but have you read the extension spec?
http://www.opengl.org/registry/specs/ARB...be_map.txt
http://www.opengl.org/registry/specs/ARB...be_map.txt
OneSadCookie Wrote:have you read the extension spec?
lol, it looks like fenris is staring really hard at that cookie.
Possibly Related Threads...
Thread: | Author | Replies: | Views: | Last Post | |
Cube auto-rotate | sakrist | 2 | 4,556 |
May 5, 2009 03:31 AM Last Post: Ingemar |
|
OpenGL ES - Drawing a simple cube help. | MattCairns | 7 | 16,373 |
Oct 10, 2008 05:26 PM Last Post: Frogblast |
|
Transformation from unit cube to view frustum | TomorrowPlusX | 10 | 10,721 |
Jul 12, 2005 11:32 AM Last Post: TomorrowPlusX |
|
3D OpenGL Cube | Zenith | 2 | 4,094 |
Jan 22, 2004 10:32 PM Last Post: Mars_999 |
|
Cube Environment | PowerMacX | 3 | 4,188 |
Aug 7, 2003 09:36 PM Last Post: MattDiamond |