2D Toolkit Forum

2D Toolkit => Support => Topic started by: qw001696 on February 13, 2015, 05:37:27 pm

Title: What is the second tk2d subshader/pass for?
Post by: qw001696 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
Title: Re: What is the second tk2d subshader/pass for?
Post by: unikronsoftware 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.
Title: Re: What is the second tk2d subshader/pass for?
Post by: qw001696 on February 14, 2015, 04:26:34 pm
Thank you very much for the info  :)