Dynamic 2d Lighting in Opengl

Loading...

Sign in or sign up now!
Alert icon
Upgrade to the latest Flash Player for improved playback performance. Upgrade now or more info.
6,556
Loading...
Alert icon
Sign in or sign up now!
Alert icon

Uploaded by on Nov 16, 2008

Dynamic 2d Lighting in Opengl

Category:

Science & Technology

Tags:

License:

Standard YouTube License

  • likes, 1 dislikes

Link to this comment:

Share to:

Uploader Comments (zoser)

  • The shadows don't merge correctly.

  • yeah , but this is an old video

  • how do you generate those shadows?

  • With the position of the light and the position of each vertex, project a poligon with alpha...

    if the dot product between the light and the normal of the surface is < 0 draw the shadow

see all

All Comments (13)

Sign In or Sign Up now to post a comment!
  • nice

  • @DKM101 oh, right, i forgot about this

  • @ison011

    vsync...

  • why so low fps?

  • Can you share the source

  • how do you generate these shadows? ik the question has already been asked , but can you give me a more in depth reply? thnx

  • @otplanet666 Dot Product is easy to calculate. Shouldn't you do it yourself?

  • Easiest way to do this is to simply create a shadow map once per frame and modulate that in with the scene lighting pass. (Opposed to shadow volumes etc)

  • could you post your code that calc the dot procduct?

Loading...
Alert icon
0 / 00Unsaved Playlist Return to active list
    1. Your queue is empty. Add videos to your queue using this button:
      or sign in to load a different list.
    Loading...Loading...Saving...
    • Clear all videos from this list
    • Learn more