Author Topic: shader problem  (Read 2554 times)

AnnaKang

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 11
    • View Profile
shader problem
« on: February 28, 2014, 02:57:54 AM »

Hi!
I got a problem with shader.
i made a texture ( not a ngui texture. just unity texture ) and i set its shader ' unlit/transparent '.
but it dosen't see in uicamera. ( i set its layer ' ui layer' ) and z value is not a cause.
it is child of uianchor object.



ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: shader problem
« Reply #1 on: February 28, 2014, 07:29:18 PM »
You should use UITexture to draw it, not some Unity texture. Not sure what a "unity texture" would entail anyway.