Results 1 to 2 of 2

Thread: Fake dynamic lights

  1. #1
    Senior Member Regular Contributor
    Join Date
    Mar 2001
    Posts
    142

    Fake dynamic lights

    Hi!

    I have seen Nate's great light demo some time ago and tried to look into the code now but I don't understand all the math steps behind the fake lighting technique. I looked on the net for some more information but I couldn't find anything. Does anyone have a good reference where this technique is described or could someone please give a short description of the technique? That would help me a lot...

    Thanks in advance
    LaBasX2

  2. #2
    Senior Member Regular Contributor
    Join Date
    Mar 2001
    Posts
    142

    Re: Fake dynamic lights

    Hi!

    Well, I still don't understand all the math behind that technique but thanks to Nate's demo I made a working implementation.

    What I found out is that you can use the tangent space basis as the right and up vectors. That seems to work perfectly. So you can add good looking perpixel attenutation effects and shadows to your engine without needing a GeForce card and it doesn't look worse than real perpixel attenuation. I will do that for my engine in addition to the GeForce rendering mode with bumpmapping.

    LaBasX2

Similar Threads

  1. Uniform Buffer Objects, dynamic sized arrays and lights
    By FrankBoltzmann in forum OpenGL: GLSL
    Replies: 21
    Last Post: 07-27-2013, 11:05 AM
  2. dynamic lights or lightmaps?
    By enjoycrf in forum OpenGL: Basic Coding
    Replies: 4
    Last Post: 03-19-2011, 03:19 PM
  3. Dynamic "decal" lights on brushes
    By halo in forum OpenGL: Advanced Coding
    Replies: 3
    Last Post: 02-22-2006, 09:32 PM
  4. Best to fake it?
    By dabeav in forum OpenGL: Advanced Coding
    Replies: 1
    Last Post: 06-28-2002, 03:00 PM
  5. I can't figure it out(dynamic lights/textured)
    By WhatEver in forum OpenGL: Advanced Coding
    Replies: 6
    Last Post: 04-04-2001, 06:42 PM

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