Results 1 to 3 of 3

Thread: Lightmap Brightness and Quake3-Like Problem !

  1. #1
    Member Newbie
    Join Date
    Mar 2002
    Vienna Austria

    Lightmap Brightness and Quake3-Like Problem !

    1) I'm using Shadowmaps to put light into my scene.
    This results in very dark gfx. How to increase the Gamma ?
    I know Quake 3 uses something like gl...Ramp Stuff. I've no idea about it.

    2) Quake 3 has a problem. The models are not shadowed in realtime.

    So in my scene my model has normal brightness because of no shadowmaps on it. The map has it so the model doesn't look like it's in the scene correctly.

    How can I calculate a shadowmap for the Model or increase the map brightness or decrease the model brightness ?
    or what would you do ?

    Thanks anyway,


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

    Re: Lightmap Brightness and Quake3-Like Problem !

    try using GL_ADD or ADD_SIGNED_ARB instead of GL_MODULATE
    or use a different blending method,
    quake3 i believe alters textures colours when u load them in (ie it doesnt use gamma)

  3. #3
    Senior Member OpenGL Pro
    Join Date
    Jun 2000
    Shreveport, LA, USA

    Re: Lightmap Brightness and Quake3-Like Problem !

    Quake3 does alter the gamma ramp hardware in Win9x. In WinNT 4 it refilters the textures to make them brighter. Not sure what it does in Win2K or WinXP at the moment.

Similar Threads

  1. Problem with Brightness / contrast of texture
    By Artem Bochkarev in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-22-2011, 10:57 AM
  2. brightness fragment shader problem
    By slamps in forum OpenGL: GLSL
    Replies: 5
    Last Post: 03-25-2009, 06:21 AM
  3. Replies: 1
    Last Post: 07-17-2007, 01:22 PM
  4. Quake3 Overbright & Lightmap
    By Antorian in forum OpenGL: Advanced Coding
    Replies: 5
    Last Post: 02-28-2005, 02:01 PM
  5. Lightmap problem
    By qiz in forum OpenGL: Advanced Coding
    Replies: 9
    Last Post: 07-20-2002, 11:59 AM

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