How to make shader affect the screen

Questions about the LÖVE API, installing LÖVE and other support related questions go here.
Forum rules
Before you make a thread asking for help, read this.
Post Reply
zWSz
Prole
Posts: 1
Joined: Sun Apr 05, 2020 1:20 pm

How to make shader affect the screen

Post by zWSz »

So i wanted this effect on Love2d: https://youtu.be/-Ah8vvXwv5Y
So i tried to ramake it but the effect seems to only affect the image not the screen itself
Soory if im not being clear enough do im going to post the .love here you can see what im talking about
https://www.sendspace.com/file/nmh3nm

Also im on Android Löve v11.3
User avatar
zorg
Party member
Posts: 3465
Joined: Thu Dec 13, 2012 2:55 pm
Location: Absurdistan, Hungary
Contact:

Re: How to make shader affect the screen

Post by zorg »

Hi and welcome to the forums!

For "full screen" shaders you need to draw to a window/screen sized canvas, set the shader and draw the canvas with the shader active, otherwise it'll only affect the area the drawable takes up.
Me and my stuff :3True Neutral Aspirant. Why, yes, i do indeed enjoy sarcastically correcting others when they make the most blatant of spelling mistakes. No bullying or trolling the innocent tho.
Post Reply

Who is online

Users browsing this forum: Ahrefs [Bot], Bing [Bot] and 5 guests