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 - cedtat

Pages: [1]
1
NGUI 3 Support / Re: Masking UITexture inside ScrollView doesn't work!!
« on: August 22, 2015, 02:08:20 PM »
ok, thanks to this subject, I found a solution :http://www.tasharen.com/forum/index.php?topic=13450.0

I understood it was not possible to mix rect-based clipping with texture mask-based clipping.
So I stopped using a panel above my texture to mask it inside a scrollview. I am now using a material with a shader modified from "unlit/Transparent Colored 1".
I made multiple errors in the process of creating the shader, not placing it in appropriate ressource folder and not naming it correclty so that NGUI find it.

Cheers,
Cedric

2
NGUI 3 Support / Re: Masking UITexture inside ScrollView doesn't work!!
« on: August 22, 2015, 07:37:23 AM »
Hello,

I am actually trying to do exactly the same as Scryed, I have a scroll view, with a table composed of a list of textures. Each UITexture is nested inside a panel with a circle mask and now I am experiencing the same problem as scryed. The profile picture is not clipped by the scrollview on the edge. It only disappears when completly outside of the scrollview. I have 3 UIPanel (UIRoot, ScrollView and texture mask)

I have tried changing the shader on my texture with "Unlit - Transpasrent Masked" 1,2 and 3 and "Unlit - Transparent Colored" versions but without any success.
Obviously I have missed something, is there someone here to help me ?

Thanks,
Cedric

Pages: [1]