Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 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 Kyle_Itzy · Jul 11, 2012 at 12:25 AM · androidshaderiosreflectivevertexlit

Mobile problems with reflective/vertexlit shader.

Has anyone had any success with the reflective/vertexlit shader on mobile? On both ios and android devices, setting the "Reflection Color" has zero effect and my reflection is always overblown. I'm unable to turn it down.

I've lost a couple of days now to trying to find (or create) a simple, fast shader that gives me a basic reflection using the cubemap and allowing me to adjust the stregth of the reflection while still using my base texture. I've come across a few shaders that give me the same, basic effect but nothing that doesn't bring mobile devices to their knees.

Anyone know of a fix for the above shader, or a mobile shader that does something similar?

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 ScroodgeM · Jul 15, 2012 at 10:38 PM 0
Share

by default '$$anonymous$$obile' group doesn't contain shader with reflect support. where do you found this shader? if this is an external one, show it's source.

avatar image Kyle_Itzy · Jul 15, 2012 at 11:07 PM 0
Share

Sorry. I had it right in the title, but not in the body. I was trying the reflective/vertexlit, not mobile/vertexlit. If there was such a beast I probably wouldn't be asking this question. :)

avatar image ScroodgeM · Jul 16, 2012 at 06:26 AM 0
Share

i'd check the shader 'Reflective/VertexLit' and found something interesting:

// First pass does reflection cubemap

and some lines below in the same pass:

#pragma exclude_renderers gles xbox360 ps3

it means don't compile shader for OpenGL ES 2.0, which used on mobile platforms.

so.... r u sure you see a reflection on mobile renderers? check it using high contrast reflection map like black&white checkers. also it is an answer why reflection color hasn't effect. overblow can be effect of specular of the same shader. make specular off and check reflection first.

0 Replies

· Add your reply
  • Sort: 

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

6 People are following this question.

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

Related Questions

Custom shader works in Unity but broken on ios/android 0 Answers

Glass material or shader for mobile? iOS Android 1 Answer

Specular bug on iOS/Android using Standard shader 2 Answers

reflective shader on android 0 Answers

Set default number/emails in a new text message/email sent via unity 0 Answers


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