Welcome, Guest. Please login or register. Did you miss your activation email?

Author Topic: Setting Up Lightning in SFML OpenGL  (Read 1624 times)

0 Members and 1 Guest are viewing this topic.

Asteroid

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Setting Up Lightning in SFML OpenGL
« on: August 06, 2012, 07:37:41 pm »
Just was wondering Can i get an Example for setting up light and shades in SFML.
I am having abit problem with lightning So it will be great if i get an example.

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10998
    • View Profile
    • development blog
    • Email
Re: Setting Up Lightning in SFML OpenGL
« Reply #1 on: August 06, 2012, 08:07:56 pm »
Lighting and shadowing aren't a trivial task and there are numberous ways to do it and each way can give another result, thus I dont think someone will just write you an example. ;)
Someone has written a nice library for lighting.
Other than thos there are many tutorials and examples other just google a bit.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

Asteroid

  • Newbie
  • *
  • Posts: 14
    • View Profile
    • Email
Re: Setting Up Lightning in SFML OpenGL
« Reply #2 on: August 07, 2012, 01:39:43 am »
Would you recommend me a good Book on OpenGL Programming?