Hi guys.
I couldn't really find an "easy" way to make a shader I need in opengl es.
It has to work on Android and iOS.
I need something like a "bubble" to appear in the touched spot.
Something like "hey, you tapped right here".
I don't really know where to start.
I used shine in the past but it doesn't work on mobile.
Android shader on touch
Forum rules
Before you make a thread asking for help, read this.
Before you make a thread asking for help, read this.
Re: Android shader on touch
It doesn't really sound like you need a shader at all. Just use love.touchpressed etc to draw a bubble?
If you want to do some displacement, then you can render your scene to a canvas and then draw the canvas with the shader attached. You will need externs (uniforms) to send information to the shader, it would make sense to send for example the x and y position and the radius as it increases over time using Shader:send.
If you want to do some displacement, then you can render your scene to a canvas and then draw the canvas with the shader attached. You will need externs (uniforms) to send information to the shader, it would make sense to send for example the x and y position and the radius as it increases over time using Shader:send.
Who is online
Users browsing this forum: Ahrefs [Bot], Amazon [Bot], Bing [Bot] and 24 guests