Dynamic branching Demo

McArra

Diamond Member
May 21, 2003
3,295
0
0
One of the main features of pixel shader 3.0 is that is supports dynamic branching (also called data dependent branching), something that nVidia of course makes a big deal about. This demo however shows a way to implement dynamic branching without pixel shader 3.0, using basic graphics functionality such as alpha testing and stencil testing. Not only is it doable, but also gives every bit of the performance of real dynamic branching.

Interesting.
 

TStep

Platinum Member
Feb 16, 2003
2,460
10
81
I saw this over at Hard and went to the website link. I am a little unclear as to it's usage. Is it to be downloaded and used as a patch (for lack of better words) to be utilized with say the Farcry v1.2 SM3.0? Does it enhance performance if the title does not utilize SM3.0?

Edit for link.
 

rbV5

Lifer
Dec 10, 2000
12,632
0
0
I am a little unclear as to it's usage

Its a demo. Unzip the file into a folder and run the DynamicBranching executable. It shows a technique for using dynamic branching without using PS 3.0.