Search found 4 matches

by MordaBest
Sun Nov 10, 2019 12:18 am
Forum: Support and Development
Topic: Glitch shader?
Replies: 2
Views: 1252

Re: Glitch shader?

With original's author's help I was able to make this shader, that can be applied do any graphic element. You have to feed it time every frame for it to change, I used this: shader:send("iTime",os.clock()) And here's the shader itself. uniform float iTime; float time; float round(float n) { return f...
by MordaBest
Sat Nov 09, 2019 4:26 pm
Forum: Support and Development
Topic: Glitch shader?
Replies: 2
Views: 1252

Glitch shader?

I've found this really neat glitch effect written with GLSL and was banging my head trying to apply it to LOVE since, but to no avail. Here's a link. https://www.shadertoy.com/view/XtyXzW The main problem is that it's written for 3D environment and all of it's rendering logic is tied into that. Any ...
by MordaBest
Wed Aug 14, 2019 12:03 pm
Forum: Support and Development
Topic: Is there a way to simulate a mouse click?
Replies: 2
Views: 1121

Is there a way to simulate a mouse click?

I want to use the engine for some automation processes, but at some point I need to simulate a mouse click outside of the program window. I work on Windows and I really don't care if it will work on other platforms.
by MordaBest
Sun Feb 03, 2019 6:03 pm
Forum: Support and Development
Topic: Mouse callbacks and functions
Replies: 0
Views: 2459

Mouse callbacks and functions

Hello fellow developers, I recently hit a strange problem with the mouse functions setPosition and setRelativeMode. I am trying to make a decent camera/cursor transitions between first person and third person view in my game. This is the way it's supposed to work: 1. By default, you have 3rd person/...