Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 11 Next capture
2021 2022 2023
1 capture
11 Jun 22 - 11 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by NerdRageStudios · Jul 10, 2015 at 08:41 PM · androidimage effects

Image Effects (Vignette) not working on Android

Hi, I am sure I am doing something dumb here, but I am using the vignette script and it works fine in the editor, but when I publish to my phone its disabled.

Is there some option I need to change to get this to work, or does it simply not work on Mobile?

Cheers!

Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NerdRageStudios · Jul 11, 2015 at 08:21 AM 0
Share

Anyone have any ideas please?

avatar image NerdRageStudios · Jul 11, 2015 at 11:46 PM 0
Share

I've tried to get the answer for this, but I'm still stuck. Does anyone have any advice?

avatar image Mehrdad995 · Jul 12, 2015 at 12:56 AM 0
Share

it's mostly limited to GPUs shader model support as long as i know. some support shader model 3 however some not.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by MCoburn · Jul 12, 2015 at 12:43 AM

Android devices may have limited support for image effects, depending on their Graphics Processing Unit (often married to the CPU in the System-on-Chip). For your case, it would be wise to check what "SystemInfo.supportsimageEffects" (not 100% sure that's the exact thing to check) returns as. If it's true then your device is able to do image effects.

Example code:

if(SystemInfo.supportsImageEffects) { Debug.Log("Can potentially do image effects"); } else { Debug.Log("Unable to do image effects"); }

If it returns false, then your device is not capable. Such image effects like Vignetting can cause a lot of draw calls, and you may see a lot of lag due to frame rate issues. You may be able to fake it by using a texture overlay on the camera.

Budget devices are usually underpowered in the GPU aspect, and high-end devices usually can do amazing things with their GPU. Also, what is your device? You never specified that.

Comment
Add comment · Show 3 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image NerdRageStudios · Jul 14, 2015 at 07:41 AM 0
Share

Thank you for this, I will try out your suggestion. I am using a galaxy S5 which I would have thought was a high end device?

avatar image MCoburn · Jul 15, 2015 at 01:55 AM 0
Share

Hmm... If it's a Galaxy S5 then it should be using an Adreno 300 chip. Those chips are pretty good at 3D graphics, so I guess that's not the issue.

I bet that the Vignetting script has a if statement that disables the script if it's on a mobile platform. $$anonymous$$aybe take a look at the script and see if there is any thing related to iOS/Android that might be causing it to just disable and return. Is this script from the Image Effects that come with Unity 5.x?

avatar image NerdRageStudios · Jul 19, 2015 at 05:00 PM 0
Share

Hi, apologies for delay I have been away.

It is indeed the standard image effect, but I cannot see anything in the script preventing this on a mobile device.

In the end I bought an asset store purchase that does it great as this was too much of a pain to fix!

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

24 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

Screenshot Post Effects on Android not working? 0 Answers

Squashed image with some Standard Image Effects on Android 4.4.3 or newer 0 Answers

Unity bug when using image effect on camera(Only Android) 0 Answers

PC RSS Feed Get Xml Data Works , but not on android? 0 Answers

WWW and SSL on Android 1 Answer


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges