Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - eyeofhorus

Pages: [1]
1
NGUI 3 Support / Re: Materials turned Pink when switching platforms
« on: April 16, 2017, 07:31:18 AM »
I replaced the shaders with those you attached, but I'm still getting error in "Unlit - Text":

Shader error in 'Unlit/Text': '' : 'UNITY_VERTEX_OUTPUT_STEREO' already defined at line 40 (on opengl)

Compiling Vertex program
Platform defines: UNITY_ENABLE_REFLECTION_BUFFERS UNITY_PBS_USE_BRDF1 UNITY_SPECCUBE_BOX_PROJECTION UNITY_SPECCUBE_BLENDING SHADER_API_DESKTOP


2
I think it's related to the shader compilation problem I mentioned on the other thread

3
NGUI 3 Support / Re: Materials turned Pink when switching platforms
« on: April 15, 2017, 03:30:20 AM »
Does it work if i'm on 5.4?

4
NGUI 3 Support / Shader error when building for iOS
« on: April 13, 2017, 03:13:36 PM »
unity 5.4.1
ngui 3.11.2

I'm getting a bunch of shader errors when building my app for iOS, any clue on this?


5
NGUI 3 Support / UILabel text wont show without a Material assigned
« on: April 13, 2017, 05:03:22 AM »
unity 5.4.1
ngui 3.11.2

Hello,
I have a simple UILabel added to the scene with Unity font Arial, however the text does not display on the screen if the material field is left blank.

Also the bbcode seems not working, the bbcode looks like being parsed:
[ff0000]testing[-] will display testing on screen, but it still appears black in color.

6
NGUI 3 Support / Re: Materials turned Pink when switching platforms
« on: April 09, 2017, 06:57:58 AM »
Hello,

Thanks for getting back, I'm using a third party face recognition framework which requires GL2 to display on MacOS, if I use GLCore the textures will not render correctly from the framework.

Using GL2 is only for the sake of testing the app on desktop. We wanted to save some time instead of building into the iPad device every time.

For the shaders error, it shows as below screen shot. It seems there are some repeated definitions.




7
NGUI 3 Support / Re: Materials turned Pink when switching platforms
« on: April 06, 2017, 10:37:13 AM »
Somehow I found that all the materials of the UI elements are lost

After I assign Sprites-Default to the Material, the pink is gone.

So the question is, how can I avoid this when I switch platform? thanks for the help.

8
NGUI 3 Support / Materials turned Pink when switching platforms
« on: April 06, 2017, 10:25:49 AM »
Unity 5.4.1
NGUI 3.11.2

Hello, I started building a UI on iOS platform, then I switched to Mac for testing.
After switching to Mac, I turned off Auto Graphics API for Mac, and selected OpenGL2 as preferred graphic.

Then my all materials turned pink. And I got some shader errors.
I tried changing the shader on my atlas material but nothings changed.

I will need to switch between platforms for testing.

How can I fix this and avoid it?

Pages: [1]