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 Internet · May 05, 2015 at 02:04 PM · shadershaderlabopengl

GLES20: vprog textures are used, but not supported.

I've built a game in Unity 5.0.1p1 (a patch release for fixing a vertex color issue) with custom shaders, in which texture lookups textures are used in the vertex shader. It works correctly in the editor. Deploying it through Xcode works on an iPad Air, but not on an iPhone 4S.

The specific error I'm getting is in the title, which repeats several times, like so:

 Note: Creation of internal variant of shader 'Custom/ShaderName' failed.
 GLES20: vprog textures are used, but not supported.
 
  
 (Filename: /Users/builduser/buildslave/unity/build/Runtime/GfxDevice/opengles/GlslGpuProgramGLES.cpp Line: 332)

After this it will show a random other built-in shader that isn't supported either, presumably due to the other shader failing to be created.

 WARNING: Shader Unsupported: 'UI/Default Font' - All passes removed

I'll assume that "vprog" means the vertex shader here, and I know OpenGL ES 2.0 is used, which should support vertex texture lookups. All the used textures have a power of 2 resolution.

This post mentions that

you have to reference the texture on the fragment shader as well as on the vertex shader, even if you don’t require access to the texture on the fragment shader.

If this is correct, is there a way to see the compiled OpenGL ES 2.0 shader that is made for the iPhone, to check whether this is the case?

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by PeraDll · Nov 11, 2017 at 10:16 PM

Did you solve this problem? I would like to know solution also

Comment
Add comment · 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

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Why Unity compiled shader doesn't use the GLSLPROGRAM/GLSL syntax? 0 Answers

How do I use advanced OpenGL blend mode ? 0 Answers

clipping shader for OpenGL quad 0 Answers

GL.lines Drawing over Objects 0 Answers

How do you hide a shader property? 2 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