Results 1 to 3 of 3

Thread: Specular hilight and texturemapping...

  1. #1

    Specular hilight and texturemapping...

    Is it standard for specular hilights with textures to not work right, or is it that implementations of opengl do not want to support correct specular hilights with texture mapping?

    Its a very annoying to set up your specular hilights correctly and then to put a texture on your object to find out the specular gets screwed up. Now it seems I am going to have to put specular highlighting on a transparent layer, does that sound like the only solution? (If I am going to do that maybe I should even go ahead and try doing per-texel lighting as well )

  2. #2
    Senior Member Frequent Contributor imported_cass's Avatar
    Join Date
    Feb 2000
    Austin, TX, USA

    Re: Specular hilight and texturemapping...

    Yes, correct specular color requires a separate pass in vanilla OpenGL. The extension below solves this problem.
    Cass Everitt --

  3. #3

    Re: Specular hilight and texturemapping...

    Thanks, I looked it up and implemented it, unfortunetly my video card doesn't support it, so I don't know if it really works, alternatively I set up the code to support drawing the specular of an object by redrawing the object black and using additive blending, and it looks much much better ...

Similar Threads

  1. TextureMapping Confusion
    By fabianspring in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 08-20-2002, 02:52 PM
  2. 1d texturemapping
    By saline in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 10-26-2001, 11:18 AM
  3. rgba and texturemapping
    By mooface in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 03-06-2001, 09:26 PM
  4. heightfield + texturemapping
    By iLLuminatus in forum OpenGL: Advanced Coding
    Replies: 2
    Last Post: 02-16-2001, 07:22 PM
  5. texturemapping prob.
    By ann in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 09-19-2000, 11:42 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