Description
IMPORTANT: Since version 1.2, this app finally works on Samsung and Motorola devices. If you are a developer please take a look below to the comment for developers just in case the information could be in handy for you as well. THANKS EVERYONE for the reports.---------------------------
Demo that shows some cool effects that can be achieved thanks to the programmable OpenGL ES 2.0 GPU pipeline, such as normal mapped specular animated lighting, real time refractions and image postprocess.
If you like the effects and would like to play a game that uses them, please try the game "AQUA SLASH GL DEMO" for free.
To move the light source, touch the screen with one finger to the desired position.
To change the background image, while touching the screen with one finger (therefore moving the light) touch with another one on the left side of the screen.
To change the postprocess effect, do the same but touch with the second finger on the right side of the screen instead of the left.
This demo requires Android 2.2 or higher.
INFO FOR DEVELOPERS: For some reason, samsung and motorola opengl driver does not allow the creation of FrameBufferObjects with color attachments of dimensions non power of 2. All the opengl calls do not generate any error and the FrameBufferObject status is ok, but then nothing gets written to the offscreen buffer if width and/or heigth is not power of 2. On HTC, LG, Toshiba and Dell devices this works well and any dimension can be used.
Since this app uses offscreen rendering for the postprocess effects, this is why it did not work with samsung and motorola devices before version 1.2.
Despite the somewhat unfair 1 star ratings of angry samsung and motorola users because of this issue, thanks everyone for the reports.
Special thanks to my sister Silvia and my friend "El Iberico" for sharing with me their Galaxy S smartphones that allowed me to debug the app and find out what the problem was.
To Harism: Thanks for your comments and yes, the problem is directly related to the off screen render target resolution.
There is not any copy of textures at any time. The first pass where the water effect is rendered is the one that uses the off screen buffer (with less resolution for performance reasons) and later, that render target is directly binded as an input texture to the final pass where the other effect is rendered (pixelization etc) to full resolution.



















Donovan
Jun 9, 2012 4:42:44 AM
Pretty good demo! First, I own Samsung Galaxy Precedent. Since I knew what GPU is used (Adreno 200), I am aware. I am not complaining at all. Second, this demo is quite decent. I was using this demo to confirm the existence of superscalar shaders. They are there. Great job at the demo! I like this software.
Sam
Jun 1, 2012 6:05:20 AM
Sucks No obvious way to skip fwd
ruben
Mar 9, 2012 3:11:26 AM
Awesome Great demo hope a more interactive one comes out soon :D
Osian
Mar 3, 2012 8:20:18 PM
Nice little demo This is a really nice tech demo! Really liked the pixellation post-processing effect.
Miro
Feb 3, 2012 8:06:51 PM
goood great. keep making stuff like this please
Daniel
Dec 9, 2011 9:37:04 PM
Nice
harism
Nov 16, 2011 4:18:07 PM
Nice one. Just out of curiosity, are you sure the problem you faced with some devices was for FBO color attachment size? I mean, are you using an own shader to copy non power of two texture back to screen buffer, or are you using built-in texture mapping (pre 2.0)?
ajay
Aug 25, 2011 5:19:28 AM
A.Ajay Davidson 6 stars if it was a live wallpaper
Damian
Jul 13, 2011 9:10:07 PM
:) Took a bit of time to figure out the touch finger touch thing but otherwise great, would be good as a live wallpaper
Yaroslav
May 30, 2011 7:37:36 AM
Great demo. SGS. People, this is just a demo. You are supposed to rate the software and not your device manufacturer.