Noise effect on Chrome for Android?

Discussion and feedback on Construct 2

Post » Tue Dec 30, 2014 4:44 am

The webGL effect 'noise' is failing on me when I preview in Chrome for Android. I have android 4.4, Chrome v39. Anyone else see this?

Test page: http://unknownenterprises.altervista.or ... index.html
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Tue Dec 30, 2014 1:31 pm

Chrome v39 on Android 5.0.1 - doesn't work here either (unless the effect is supposed to be slow moving well spaced rgb coloured diagonal lines!).
A big fan of JavaScript.
B
74
S
20
G
71
Posts: 2,228
Reputation: 44,888

Post » Tue Dec 30, 2014 9:21 pm

Colludium wrote:Chrome v39 on Android 5.0.1 - doesn't work here either (unless the effect is supposed to be slow moving well spaced rgb coloured diagonal lines!).


That's it exactly. Exactly what I'm seeing.

I did find this article, which I think I could adapt to the current noise plugin. However, I suspect this might make the effect too demanding for my tastes:

http://byteblacksmith.com/improvements- ... gl-es-2-0/

Ashley's implementation is based on the first line. The author shows how that code breaks down on some mobiles; his example images seem similar, though not identical, to the errors I'm seeing.
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202

Post » Tue Dec 30, 2014 11:30 pm

Well, my inaugural attempts at GLSL coding pretty much went down in flames.

As this is a minor cosmetic issue for me, I decided to hack around it: I found a big, high rez image of film grain, cut 15 frames out of it, and layered it in.

It looks better and I have 1 less effect in the chain. Color me happy. :)

If anyone else wants/needs to do this, here is the image I used:

http://byscuits.com/grain-tm400.png

Courtesy of this article:

http://www.prime-junta.net/pont/How_to/ ... tml?page=5

Still, it is a shame this basic effect doesn't work on mobile. @Ashley
Don't lose your work. Backup your game with Dropbox.
B
44
S
10
G
10
Posts: 1,106
Reputation: 9,202


Return to Construct 2 General

Who is online

Users browsing this forum: MadSpy, TheRealDannyyy and 11 guests