Hello Guest

Author Topic: What is the second tk2d subshader/pass for?  (Read 3378 times)

qw001696

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
What is the second tk2d subshader/pass for?
« on: February 13, 2015, 05:37:27 pm »
Hi all,

Sorry to be a bother but I was just wondering, why do the tk2d shaders have two subshaders/passes?
Are both passes called when rendering a sprite? If not, how is one prioritized over the other? Target hardware?

Thanks very much in advance to anyone who can educate me :)

Rob

unikronsoftware

  • Administrator
  • Hero Member
  • *****
  • Posts: 9709
    • View Profile
Re: What is the second tk2d subshader/pass for?
« Reply #1 on: February 13, 2015, 11:54:48 pm »
It shouldn't be used any more. Its just there as a fallback for fixed function devices that didn't support programmable shaders in the past.

qw001696

  • 2D Toolkit
  • Newbie
  • *
  • Posts: 2
    • View Profile
Re: What is the second tk2d subshader/pass for?
« Reply #2 on: February 14, 2015, 04:26:34 pm »
Thank you very much for the info  :)