Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 3 of 3

Thread: nightime rendering

  1. #1
    Intern Contributor
    Join Date
    May 2000
    Location
    iowa city
    Posts
    71

    nightime rendering

    Hi....

    I am trying to render a night scene and am using textures that are modulated so that they will get darker if the lights are turned off or darkened or whatever....

    Anyway, I have alphablended polys that come up very alpha blended (that is you can see through the whole poly not just the outside around the tree)... this artifact is present only when I have lights enabled any help?

  2. #2
    Guest

    Re: nightime rendering

    Perhaps you are simulating night by
    modulating all four color components?
    You should only modulate R, G and B, while
    keeping A the same.

  3. #3
    Intern Contributor
    Join Date
    May 2000
    Location
    iowa city
    Posts
    71

    Re: nightime rendering

    Yes I think you are right, but how should I go about only modulating rgb and not a....

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •