Pre-generated cube map

Oldtimer
Posts: 834
Joined: 2002.09
Post: #1
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 (Ninja) and I need to do it through GLSL, and it needs to be pre-rendered.

Thankful for any insights or pointers. Smile
Quote this message in a reply
Luminary
Posts: 5,143
Joined: 2002.04
Post: #2
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
Quote this message in a reply
Member
Posts: 33
Joined: 2005.08
Post: #3
OneSadCookie Wrote:have you read the extension spec?

lol, it looks like fenris is staring really hard at that cookie.
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Cube auto-rotate sakrist 2 3,036 May 5, 2009 03:31 AM
Last Post: Ingemar
  OpenGL ES - Drawing a simple cube help. MattCairns 7 12,526 Oct 10, 2008 05:26 PM
Last Post: Frogblast
  Transformation from unit cube to view frustum TomorrowPlusX 10 6,512 Jul 12, 2005 11:32 AM
Last Post: TomorrowPlusX
  3D OpenGL Cube Zenith 2 2,869 Jan 22, 2004 10:32 PM
Last Post: Mars_999
  Cube Environment PowerMacX 3 3,014 Aug 7, 2003 09:36 PM
Last Post: MattDiamond