Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Does not working with Clipping #1

Open
AvinashP opened this issue Jul 25, 2015 · 1 comment
Open

Does not working with Clipping #1

AvinashP opened this issue Jul 25, 2015 · 1 comment

Comments

@AvinashP
Copy link

NGUI panel supports soft clip. When we use any atlas with Transparent Coloured Mask and UIPanel with clipping, Unity throws any exception

Unlit / Transparent Colored AlphaMasked does not have a clipped shader version for SoftClip

@kimsama
Copy link
Owner

kimsama commented Jul 28, 2015

Hey,

Could you tell me more details?

  • What version of NGUI did you use?
  • What 'Unlit / Transparent Colored AlphaMasked' shader which you've mentioned is?

The 'Transparent Colored Masked 1.shader' file is for clipping so you should set that shader not a Transparent Colored Masked.shader file.

See the code of Transparent Colored Masked 1.shader file, you can find code works for clipping.

Cheers,

-Kim

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants