Search found 5 matches

by UltraRPG
Mon Mar 06, 2017 8:42 pm
Forum: General
Topic: Shockwave effect
Replies: 11
Views: 9205

Re: Shockwave effect

When you activate a shader and call love.graphics.draw on a drawable, guess what gets passed into it. :3 Yes, the thing that needs to be drawn, be it an image, a text object, a canvas, etc. For example, I have a canvas with a tree drawn in it, let's call it TreeCanvas, and I want to draw an apple (...
by UltraRPG
Mon Mar 06, 2017 7:53 pm
Forum: General
Topic: Shockwave effect
Replies: 11
Views: 9205

Re: Shockwave effect

nice wrote: Mon Mar 06, 2017 7:30 pm This is super cool!
It felt like I was pulling a water-blob around the screen!
Thank you!
by UltraRPG
Mon Mar 06, 2017 7:20 pm
Forum: General
Topic: Shockwave effect
Replies: 11
Views: 9205

Re: Shockwave effect

Aren't shaders basically custom blend modes? I would guess that blend mode takes into account the pixel values of the image you are drawing and the pixel values of the image you are drawing onto. I'm new to shaders, but I think that if you wanted to make your own custom blend mode you had to pass a...
by UltraRPG
Mon Mar 06, 2017 7:12 pm
Forum: General
Topic: Shockwave effect
Replies: 11
Views: 9205

Re: Shockwave effect

Looks awesome! Thanks! There was one thing I didnt quite understand though. When holding down space while the displacement shader is toggled, it looks quite different than the displacement "circle" texture with regular clicks. What are the cyan/pink lines, and how come the rest is complet...
by UltraRPG
Mon Mar 06, 2017 5:52 pm
Forum: General
Topic: Shockwave effect
Replies: 11
Views: 9205

Shockwave effect

Hello! Yesterday I watched this video and was inspired to make a shockwave shader. It turned out alright but I feel that I am doing something wrong. It just feels that way. Most of my projects that I have started don't have any graphics yet. Most of my time I've spent coding the gameplay stuff so I ...