Adjusting contrast / brightness

Discussion in 'Game Development (Technical)' started by mathgenius, Aug 20, 2004.

  1. mathgenius

    Original Member

    Joined:
    Jul 27, 2004
    Messages:
    29
    Likes Received:
    0
    I'm just testing my game on another machine here; it's very dark with high contrast. I've noticed that some games allow adjusting of contrast / brightness parameters: how do they do that? Re-render all the textures ? Or is there an API for doing this (in directX/OpenGL/windowsXYZ) ?

    Simon.
     
  2. oNyx

    Original Member

    Joined:
    Jul 26, 2004
    Messages:
    1,212
    Likes Received:
    0
  3. Donavon Keithley

    Original Member

    Joined:
    Aug 5, 2004
    Messages:
    110
    Likes Received:
    0
    Direct3D: The SetGammaRamp function on the device.
    Win32: SetDeviceGammaRamp
     

Share This Page

  • About Indie Gamer

    When the original Dexterity Forums closed in 2004, Indie Gamer was born and a diverse community has grown out of a passion for creating great games. Here you will find over 10 years of in-depth discussion on game design, the business of game development, and marketing/sales. Indie Gamer also provides a friendly place to meet up with other Developers, Artists, Composers and Writers.
  • Buy us a beer!

    Indie Gamer is delicately held together by a single poor bastard who thankfully gets help from various community volunteers. If you frequent this site or have found value in something you've learned here, help keep the site running by donating a few dollars (for beer of course)!

    Sure, I'll Buy You a Beer