Author Topic: UITexture don't show model with custom shader through renderTexture  (Read 1425 times)

Evgeny

  • Newbie
  • *
  • Thank You
  • -Given: 0
  • -Receive: 0
  • Posts: 7
    • View Profile
On a scene there is a model with custom shader something like fadeIn/fadeOut type. Through custom the camera is given to RenderTexture and this texture is applied to UITexture. UITexture don't show nothing.
In what there can be a problem?

ArenMook

  • Administrator
  • Hero Member
  • *****
  • Thank You
  • -Given: 337
  • -Receive: 1171
  • Posts: 22,128
  • Toronto, Canada
    • View Profile
Re: UITexture don't show model with custom shader through renderTexture
« Reply #1 on: April 25, 2016, 12:45:05 PM »
UITexture simply draws whatever texture you assigned to it. Check the alpha channel on your render texture and then check what the shader you chose on UITexture does with that alpha.