I am getting odd colored results on my Nexus 4 when using filter.hue
Is this a platform problem? It looks fine on the simulator. Haven't tested on other devices....
Jump to content
I have been trying to get answers on this one for a long time - see http://forums.coronalabs.com/topic/47176-fixed-hue-filter-issue/
There is a bug filed, but no update. The repo is extremely easy - add a hue filter to any image on a 1st gen Nexus 7 with hue angle set to 0 and the image is incorrect. It seems to behave on some other platforms, but we are unable to add to our app until we are confident it isn't messing up on other android devices.
So the Nexus 7 1st gen returns false for the fragment shaders, and the 2nd gen returns true.
Now hue is a basic filter, and is not listed in the "may not work properly" section in the filters doc (http://docs.coronalabs.com/guide/graphics/effects.html), based on GPU requirements.
Setting to 360 instead of 0 makes no change.
Offsetting to other numbers does effect the result, but not sure how you would do this if it is a per device problem.
Simplest repro is to draw the corona icon to screen - if you apply a hue of 0 or 360 to it, it renders green on Nexus 7 gen 1.
Any further thoughts on a direction forward here?
On my Google Nexus 4 system.getInfo( "gpuSupportsHighPrecisionFragmentShaders" ) returns true. Some of the other filters seem to be working fine BTW.
Setting angle from 0 to 360 has no effect.
In my case the angle of the filter.hue is shifted every few seconds. The first angle looks to be correct. The following angles on the same image are not. (image is red... is shifted to green and looks ok. Further angles produce odd coloration.)
Can I get you to file a bug report for Engineering? Make sure to include a config.lua, and build.settings in addition to any assets that are needed to show the problem. Use the "report a bug" link at the top of the page.
You will get an email with a case #. Please post that here as a reference.
Here is a screenshot of he issue. Left= Sim; Right = Nexus 4
Bug #: I will update when I get the reply email.
Notice the two-toned effect. The default image is a red gradient
fishOriginal.fill.effect = "filter.hue" fishOriginal.fill.effect.angle = math.random( 360 )
filter.hue.jpg 570.18KB 0 downloads
I submitted again and I still don't see a number. I am working from the Philippines on a horrible internet connection so there is that....
At what point am I supposed to receive a bug tracking number?
The text of the bug is:
I have submitted it about 10 times. No dice. I have not gotten a single email confirming a bug submission. I don't think it is working. The Title of the last few submissions has "hue.filter" or "Hue Filter" in it.
It's making me feel crazy.
It does take me to the following page so something is happening. Any other suggestions?
Thank you for your submission. We will do our best to evaluate your case and respond as quickly as possible."
Visibility into the bug tracker isn't very good. We generally will post back to the thread when we've solved it, if the thread is part of the bug submission. It should get listed in the release notes.
However, I know the engineering team has been asked to look at this, but I've not seen any responses about it yet.
Community Forum Software by IP.Board