Results 1 to 4 of 4

Thread: Is there any technic, that make highlight using standart lights only?

  1. #1
    Guest

    Is there any technic, that make highlight using standart lights only?

    Is there any technic, that make highlight using standart lights only?

  2. #2
    Senior Member OpenGL Guru Relic's Avatar
    Join Date
    Apr 2000
    Posts
    2,450

    Re: Is there any technic, that make highlight using standart lights only?

    Highlights like in specular highlights?
    Yes, look at the manual for glMaterial and glLight.
    For example set the material's and light's specular color to white and the material's shininess parameter to 40 to get a plastic look.

  3. #3
    Guest

    Re: Is there any technic, that make highlight using standart lights only?

    Originally posted by Relic:
    Highlights like in specular highlights?
    Yes, look at the manual for glMaterial and glLight.
    For example set the material's and light's specular color to white and the material's shininess parameter to 40 to get a plastic look.

    Well, I have Textured Wall consists of 2 triangles. I want specular hihglighting on this wall. I use normalizing& per vertex normal, but the light is not highly spotted in the wall. Should i have only increase count of triangles for highly spotting on this wall? Or maybe is onother reason?

  4. #4
    Senior Member Regular Contributor
    Join Date
    Apr 2003
    Location
    Toulouse, France
    Posts
    133

    Re: Is there any technic, that make highlight using standart lights only?

    in order to have proper lighting, you can:
    - increase triangles count. the simpliest way but the geometry cost is very important.

    - do per pixel lighting. not very hard but if you plan to use other effects which use multitexturing, you'll be limited by hardware (maybe multipass is the solution).

    - use lightmaps. the hardest way since you have to compute the lightmap.

Similar Threads

  1. Specular highlight
    By digitalshooter in forum OpenGL: Basic Coding
    Replies: 2
    Last Post: 09-10-2008, 05:18 AM
  2. Direct export for standart functions
    By moxoron in forum OpenGL: General
    Replies: 8
    Last Post: 06-11-2008, 05:03 AM
  3. Different MipMap Technic!
    By golgoth13 in forum OpenGL: Advanced Coding
    Replies: 14
    Last Post: 05-09-2006, 11:21 AM
  4. Standart shader language
    By Zengar in forum OpenGL: General
    Replies: 2
    Last Post: 10-04-2001, 01:25 AM
  5. light vectors, how to make lights work?
    By in forum OpenGL: Basic Coding
    Replies: 5
    Last Post: 04-28-2000, 09:34 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