Quantcast
Channel: Community | MonoGame - Latest topics
Viewing all articles
Browse latest Browse all 6821

Is it better to use [branch] or defining a new Technique

$
0
0

@Alkher wrote:

Hi all !

I was wondering, what solution is better ? Use branching with an "if" when for doing alphatest, or depthpeeling for ex, or define a technique for each case ? The "if" will be on CPU when setting the currenttechnique anyway...
How "if" is good with nowadays GPUs ?

Posts: 5

Participants: 4

Read full topic


Viewing all articles
Browse latest Browse all 6821

Trending Articles