Results 1 to 3 of 3

Thread: Newbie question on lightmaps

  1. #1
    Junior Member Newbie
    Join Date
    Mar 2001
    Location
    sweden
    Posts
    1

    Newbie question on lightmaps

    I'm trying to understand how to use lightmaps, some things confuses me though.

    What I understand is that every surface has it's own lightmap. Lets take
    a large wall for example. The wall is a large rectangle with 4 vertices. I place
    a small texture on the wall that repeats itself, using glTexPar.(,,GL_REPEAT).

    Now, how large would my lightmap be? Same size as texture? Same size as
    wall and then split into power-of-2 smaller lightmaps? Should I split my "large"
    wall polygon into smaller parts from the beginning(when modelling)?

    Thx in advance
    /Mathias

  2. #2
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Nov 2010
    Posts
    2,466

    Re: Newbie question on lightmaps

    normally a lightmap is shared between various surfaces, ie i believe for a q3a level there are only 6 lightmap textures to map the whole level. lightmaps are typically stored at a far lower resolution then the normally texture eg if u map a 256x256 texture to a wall the lightmap size that covers the wall will be about 16x16

  3. #3
    Member Contributor
    Join Date
    Feb 2001
    Location
    Slovakia
    Posts
    53

    Re: Newbie question on lightmaps

    Hi zed could you send me a detailed description of the lightmap. Or what do you mean wiht 6 lightmaps? How it works?

Similar Threads

  1. Newbie question
    By lkeene in forum OpenCL
    Replies: 2
    Last Post: 07-21-2009, 12:29 PM
  2. Newbie: Best way to do it question...
    By Zirconium in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 01-28-2004, 06:02 PM
  3. Newbie question
    By avicko in forum OpenGL: Basic Coding
    Replies: 6
    Last Post: 03-03-2003, 11:21 PM
  4. some newbie question
    By satan in forum OpenGL: Linux
    Replies: 5
    Last Post: 02-14-2002, 05:59 AM
  5. a VERY newbie question...
    By scotty in forum OpenGL: macOS
    Replies: 1
    Last Post: 12-05-2000, 06:18 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean