Linuxhippy
10-05-2007, 01:20 AM
Hi there,
I am currently working on a 2.0 shader which should iterate through a list (list = data stored in a texture).
Do best practises exist for such work? Is such complex stuff even possible with ps-2.0 shader cards?
My problem seems to be that:
- Howto iterate if dynamic branching is not supported?
- Howto start at an index, if another pixel bevore the current already consumed an entry of the list?
Thank you in advance, lg Clemens
I am currently working on a 2.0 shader which should iterate through a list (list = data stored in a texture).
Do best practises exist for such work? Is such complex stuff even possible with ps-2.0 shader cards?
My problem seems to be that:
- Howto iterate if dynamic branching is not supported?
- Howto start at an index, if another pixel bevore the current already consumed an entry of the list?
Thank you in advance, lg Clemens