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

Author Topic: Dynamic lights on SFML, is it possible?  (Read 2405 times)

0 Members and 1 Guest are viewing this topic.

JETeran

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Dynamic lights on SFML, is it possible?
« on: February 13, 2014, 03:07:29 am »
Hello everybody!

As I mentioned in other post, I'm starting a new game dev career and I'm using SFML as main library. So I have a question, is it possible to use dynamic lights on SFML? As an example, I want to have a light bulb that turns on and of and lights all around, even the main character, how is that possible? Is there some documentation for that? do I need another library such as D3D or OpenGL for that? It will be a 2D game of course.

Thanks so much!  :D

Geheim

  • Full Member
  • ***
  • Posts: 201
    • View Profile
    • Email
Re: Dynamic lights on SFML, is it possible?
« Reply #1 on: February 13, 2014, 03:14:40 am »
Ofc thats possible! You probably find this interesting if you want to use something already existing.
However if you want to implement something on your own this article is a good start for you ;)
Failing to succeed does not mean failing to progress!

JETeran

  • Newbie
  • *
  • Posts: 5
    • View Profile
    • Email
Re: Dynamic lights on SFML, is it possible?
« Reply #2 on: February 13, 2014, 04:23:41 am »
Hello Geheim, thanks so much for your answer!

Man the links are great! I can see that there is some work done with the Let there be Light add-on, I will dig more into it, but I wish I can to my own work: do you have other articles I can learn more about it? ;)

Thanks once again man, let's keep in touch!