Okay, I futzed around with it and now it's running on my iPhone 5s. The .love file in the original post is updated, as well as the code on Github.
Let me know if it doesn't work anywhere else and I'll take a look. For what it's worth, there's not many features on mobile, since you can't use the keyboard and right-clicking doesn't work, so, it's just more of a novelty.
Mandelbrot Explorer Using Pixel Shaders
-
- Party member
- Posts: 730
- Joined: Sat Apr 26, 2014 7:46 pm
Re: Mandelbrot Explorer Using Pixel Shaders
I get this error on android.
https://love2d.org/imgmirrur/NtKM0oP.png
https://love2d.org/imgmirrur/NtKM0oP.png
Re: Mandelbrot Explorer Using Pixel Shaders
Very cool!
Seems to break down after a while, but it is quite pretty nonetheless!
Seems to break down after a while, but it is quite pretty nonetheless!
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Re: Mandelbrot Explorer Using Pixel Shaders
I think this is due to the colormap vec3 array I'm passing into the shader, different graphics hardware have different size limitations on extern variables. Try changing the 'colors' extern in the 'shader.frag' file to have a size of 200 or something, I don't think the colormap file ever tries to pass in a colormap with more than 200 colors.bobbyjones wrote: I get this error on android.
https://love2d.org/imgmirrur/NtKM0oP.png
Thanks for the positivity Karai The negativity around here was getting me down a little.Karai17 wrote: Very cool!
And you're right, it breaks down due to the finite accuracy of the floating point number type in GLSL. You could get around it by implementing an arbitrary precision number type, but I'm not sure if it would run in real-time anymore without serious mathy optimization that's outside of my experience.
Last edited by mattegan on Fri Jan 01, 2016 5:37 am, edited 1 time in total.
Re: Mandelbrot Explorer Using Pixel Shaders
Time to get experience!
STI - An awesome Tiled library
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
LÖVE3D - A 3D library for LÖVE 0.10+
Dev Blog | GitHub | excessive ❤ moé
Who is online
Users browsing this forum: Google [Bot] and 2 guests