Welcome,
Guest
. Please
login
or
register
.
June 10, 2026, 06:22:51 PM
Home
Help
Search
Login
Register
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Panel Alpha
« previous
next »
Print
Pages: [
1
]
Author
Topic: Panel Alpha (Read 5905 times)
bloomk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 38
Panel Alpha
«
on:
June 12, 2013, 08:48:03 PM »
I keep seeing references to a "UIPanelAlpha" script but i can't find it..?
I am trying to figure out how to fade a panel in and out.. any value .0000001 or greater is 100% visible and 0 is invisible.. so it's not fading how i want...
Any Help?
Logged
bloomk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 38
Re: Panel Alpha
«
Reply #1 on:
June 12, 2013, 09:02:54 PM »
Just to give a little more information.. i am doing a rear view camera (camera render to texture) and using NGUI's "texture" to display it.. i am trying to find a way to fade this in and out..
Logged
dlewis
Guest
Re: Panel Alpha
«
Reply #2 on:
June 12, 2013, 11:53:04 PM »
UIPanelAlpha is no longer used. Instead the panel itself has an alpha value but I think you need to use the premultiplied alpha shader for it to work.
Logged
ArenMook
Administrator
Hero Member
Thank You
-Given: 337
-Receive: 1171
Posts: 22,128
Toronto, Canada
Re: Panel Alpha
«
Reply #3 on:
June 13, 2013, 04:12:31 AM »
No need to use a premultiplied alpha shader. It has nothing to do with it.
You do need Unlit/Transparent Colored though -- which is the default shader used by NGUI.
Logged
bloomk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 38
Re: Panel Alpha
«
Reply #4 on:
June 13, 2013, 10:30:46 AM »
if i use Unlit/Transparent Colored then it is always invisible, regardless of alpha settings..
Logged
bloomk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 38
Re: Panel Alpha
«
Reply #5 on:
June 13, 2013, 10:33:03 AM »
Wait, never mind.. my color tint value had an alpha of 0...
so setting the shader to unlit/Premultiplied Colord Fixed it..
thanks
Logged
bloomk
Newbie
Thank You
-Given: 0
-Receive: 0
Posts: 38
Re: Panel Alpha
«
Reply #6 on:
June 13, 2013, 12:49:19 PM »
Ran into a NEW problem now... When the texture has been rendered to, it won't go completely transparent after that..
Logged
Print
Pages: [
1
]
« previous
next »
Tasharen Entertainment Forum
»
Support
»
NGUI 3 Support
»
Panel Alpha