Original Post
Has anybody ever tried texturing with a texture that is actively being rendered to? I just gave it a shot and it seems to work ok for my purposes (on my GeForce4 card anyway) but I''m just wondering if anybody else has any experience with doing this?
Just to clarify what I''m doing exactly:
1) Create renderable texture (call it say "pTex")
2) Query surface level 0 (call it "pSurf")
3) Set render target to "pSurf"
4) Render some stuff
5) Assign "pTex" to TextureStage 0.
6) Render some more stuff.
So when it gets to step 6 pTex is both the source and destination surface, essentially rendering itself onto itself.