Welcome,
Guest
. Please
login
or
register
. Did you miss your
activation email?
French forum
Home
Help
Search
Login
Register
SFML community forums
»
Help
»
Graphics
»
Shaders again
Print
Pages: [
1
]
Author
Topic: Shaders again (Read 1539 times)
0 Members and 1 Guest are viewing this topic.
kol
Newbie
Posts: 31
Shaders again
«
on:
November 27, 2013, 11:55:07 am »
I'm trying to deploy these shader in SFML, but I can not, I'm doing the following:
shader.loadFromFile ("img / sa.vert", "img / sa.frag")
http://xissburg.com/pt-br/desfoque-gaussiano-mais-rapido-em-glsl/
Logged
eXpl0it3r
SFML Team
Hero Member
Posts: 11032
Re: Shaders again
«
Reply #1 on:
November 27, 2013, 12:07:07 pm »
Please read the documentation, tutorials and examples that come with SFML. Your code does not match the given syntax in any of these texts.
Logged
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
Re: Shaders again
«
Reply #2 on:
November 27, 2013, 12:12:42 pm »
Thanks, had not read the end
Logged
wintertime
Sr. Member
Posts: 255
Re: Shaders again
«
Reply #3 on:
November 27, 2013, 03:01:17 pm »
You should also not include extraneous spaces into a file path, that will never work.
Logged
Print
Pages: [
1
]
SFML community forums
»
Help
»
Graphics
»
Shaders again