Very nice! You might want to slow down the pace a bit though - the topics fly by so quickly that it becomes a bit hard for someone new at shaders (like me) to follow along (:
How could I make a fade out shader for an atmosphere? GLSL has been confusing to me too, but I understand how to do it on a basic level from what you've told me. I need to figure out the shader for an atmosphere since I'm working on a space game and would like the atmosphere to look good.
I don't understand why you didn't sent a table with x and y as keys but then called it with screen.x and screen.y, I thought it would raise an error, could you please explain why you did so ? PS : I hope you will upload the next video soon 😊
Excuse me for asking maybe a stupid question, but why do we have {...} array after effect(...) and space between vec4 and effect, vec4 and pixel, is it like a metadata that changes vec4 to effect which draws the shader, because i didn't understood that moment
Good question! so glsl is a different language than lua, so the syntax and semantics will be different, the vec4 before effect says that the effect function returns a vec4, this is the return type. The {...} is the function body, in lua the function starts after the ')' and ends with an 'end', in glsl the functions start with '{' and end with '}'. Hope that helps
Hello, thanks for this nice tutorial. One question though, is it possible to use vec2(love_ScreenSize) to normalize the screen coords instead of using the extern instruction ?
very cool! shaders were confusing to me but this is simply explained!
I LÖVE shaders! Thank you so much!
Actually, I have a gap by shaders, thanks for the tutorial.
Awesome! Thanks so much. Are you going to make more of these? it would be very much appreciated.
Informative and straight to the point, thanks !
Ah! Please continue this tutorial! Really hanging out for the next episode.
this is so useful it should be part of love2d doc
this helped me a lot especially when you described what vect4 means.
Amazing video man! Just getting into love2d and your content is really cool!
int x = "Hello" is technically valid cuz strings are basically pointers which in turn are special ints.
Very nice! You might want to slow down the pace a bit though - the topics fly by so quickly that it becomes a bit hard for someone new at shaders (like me) to follow along (:
You could hit *pause* on the video or *slow down the playback speed* to .5 😉
even though it's old. It helped me a lot
Great tutorial! I never really understood shaders until now :)
How could I make a fade out shader for an atmosphere? GLSL has been confusing to me too, but I understand how to do it on a basic level from what you've told me. I need to figure out the shader for an atmosphere since I'm working on a space game and would like the atmosphere to look good.
Anyone knows what distribution is used here?
I like the simple terminal included in the desktop and the text style taskbar.
Glsl is a lot of fun, and very cool to see it alongside Lua!
I don't understand why you didn't sent a table with x and y as keys but then called it with screen.x and screen.y, I thought it would raise an error, could you please explain why you did so ?
PS : I hope you will upload the next video soon 😊
Yea I was thinking the same thing.
cool was looking for shader tutorial !
What graphical env are you using? looks cool (guessing it's Linux) Is it just a window manager?
Excuse me for asking maybe a stupid question, but why do we have {...} array after effect(...) and space between vec4 and effect, vec4 and pixel, is it like a metadata that changes vec4 to effect which draws the shader, because i didn't understood that moment
Good question! so glsl is a different language than lua, so the syntax and semantics will be different, the vec4 before effect says that the effect function returns a vec4, this is the return type. The {...} is the function body, in lua the function starts after the ')' and ends with an 'end', in glsl the functions start with '{' and end with '}'. Hope that helps
@@SkyVaultGames thanks, i see it's C language.
🎉🎉🎉🎉🎉
Hello, thanks for this nice tutorial. One question though, is it possible to use vec2(love_ScreenSize) to normalize the screen coords instead of using the extern instruction ?
Great stuff, keep it up :^)
Thanks, very helpful!
this is so helpful thanks
Amazing video!
By the way, may I ask what OS are you using?
Kah Cuun Low Glad you liked It! I'm on Manjaro linux using the i3gaps window manager
Awesome!
Can't believe i can play with shaders without whipping out glfw or lwjgl
I'm in love with love 2D, but I'm not really digging lua... :(
try raylib
www.raylib.com