Create and edit GLSL shaders on your Android phone or tablet and use them as live wallpaper.
- Live preview in background or on an extra screen
- Syntax highlighting
- Error highlighting
- Use any shader as live wallpaper
- Exposure of sensors (accelerometer, gyroscope, magnetic field, light, pressure, proximity)
- Exposure of battery level
- Supports wallpaper offset
- Supports multiple touches
- Supports multiple render resolutions
- Previous rendered frame in backbuffer texture
- Import and use arbitrary textures
- Create and use cube maps
- Disables rendering when battery is low
Some devices limit GPU usage to consume less power when not plugged in. Always check the performance with the soft keyboard hidden and the power cord off. A shader should make at least around 30 fps to not slow down the UI.
A live wallpaper should only consume battery when you see it. So it generally depends on how often and how long you look at it. With normal use, you shouldn't note a difference in battery consumption.
Unfortunately error information is disabled on some devices (e.g. Huawei Ideos X3, Asus Transformer). Error highlighting/reporting is not possible on these devices.
Most probably it's because time
is just a float of medium precision
(unfortunately the default for fragment shaders).
Either try to specify high precision (what may not be available on your
hardware):
#ifdef GL_FRAGMENT_PRECISION_HIGH
precision highp float;
#else
precision mediump float;
#endif
Or use the second
/subsecond
/ftime
uniforms instead.
See issue #10 for details.