In shader code, How do I use the quadtree data structure?

Started by
2 comments, last by akira32 16 years, 3 months ago
In shader code, How do I use the quadtree data structure? I has a quadtree data outside of shader code. But I want to use it in the shader code. How do I do that? Has any website or book or paper talk about this?
akira32 編程之家 Yahoohttp://tw.myblog.yahoo.com/akira32-akira32
Advertisement
vertex or pixel shader? what shader model?
I think you use a quadtree in your program, on the CPU to determine what chunks of geometry you have to send to the GPU. Therefore your shaders have nothing to deal directly with the quadtree itself.
Quote:Original post by Funkymunky
vertex or pixel shader? what shader model?

pixel shader 3.0
akira32 編程之家 Yahoohttp://tw.myblog.yahoo.com/akira32-akira32

This topic is closed to new replies.

Advertisement