Results 1 to 2 of 2

Thread: I need help with 3d shading/lighting

  1. #1
    Junior Member Newbie
    Join Date
    Sep 2010
    Posts
    27

    I need help with 3d shading/lighting

    How do you guys handle shading in a 3d world? I have a directional light source that shades one side of a tree made of cubes. The remaining 3 sides all get ambient shading only. So the 3d effect is lost when looking at two ambient shaded sides. Am I missing something? Should I be shading the side furthest from the light source even darker?

  2. #2
    Super Moderator OpenGL Lord
    Join Date
    Dec 2003
    Location
    Grenoble - France
    Posts
    5,574

    Re: I need help with 3d shading/lighting

    Read this :
    http://en.wikipedia.org/wiki/Three-point_lighting
    Even better, use different light colors for each source.
    key = slightly yellow or full white
    flood = grey/blueish
    backlight = can be orange/red (or even strong blue) for dramatic effects, easily overdone

Similar Threads

  1. Lighting/Shading artifacts
    By cluosh in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-18-2016, 04:22 AM
  2. Shading or lighting looks off on my teapot.
    By Wongderful in forum OpenGL: Basic Coding
    Replies: 0
    Last Post: 04-14-2015, 07:54 PM
  3. Shading and lighting
    By CoolRef in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 10-19-2010, 09:43 PM
  4. Lighting/Shading
    By ntsang in forum OpenGL: Basic Coding
    Replies: 1
    Last Post: 02-25-2004, 11:24 AM
  5. Lighting + Shading..
    By cutting_crew in forum OpenGL: Basic Coding
    Replies: 3
    Last Post: 12-10-2003, 08:54 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