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

Author Topic: Shaders effects  (Read 1595 times)

0 Members and 1 Guest are viewing this topic.

kol

  • Newbie
  • *
  • Posts: 31
    • View Profile
Shaders effects
« on: November 25, 2013, 01:27:14 pm »
Hello, does anyone have some shaders to SFML? I do not quite understand, caught some on the internet but most do not work. = /

If anyone has a website, or some shader, please pass me. :)

Nexus

  • SFML Team
  • Hero Member
  • *****
  • Posts: 6286
  • Thor Developer
    • View Profile
    • Bromeon
Re: Shaders effects
« Reply #1 on: November 25, 2013, 01:35:34 pm »
There is an example in the SDK.
Zloxx II: action platformer
Thor Library: particle systems, animations, dot products, ...
SFML Game Development:

kol

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Shaders effects
« Reply #2 on: November 25, 2013, 01:37:39 pm »
where is it?

eXpl0it3r

  • SFML Team
  • Hero Member
  • *****
  • Posts: 10821
    • View Profile
    • development blog
    • Email
Re: Shaders effects
« Reply #3 on: November 25, 2013, 01:37:49 pm »
SFML uses GLSL directly, thus if you don't understand GLSL you'll have to learn it. The language is not as complex as a full blown programming language and since it has similar syntax as C it should be rather easy to learn. Once you understand the basics of GLSL you should be able to understand many of the hundred shaders on the internet and be able to successfully transform it to work with SFML.

A few examples can be found in the SFML example.
Official FAQ: https://www.sfml-dev.org/faq.php
Official Discord Server: https://discord.gg/nr4X7Fh
——————————————————————
Dev Blog: https://duerrenberger.dev/blog/

kol

  • Newbie
  • *
  • Posts: 31
    • View Profile
Re: Shaders effects
« Reply #4 on: November 25, 2013, 02:19:11 pm »
Thanks :)