Skip to main content
gamedev.net
🔒 Locked

Texture Rendering Question

Started by maymer75 Dec 11, 2002 at 4:34 PM 0 replies 200+ views
Original Post
maymer75
maymer75
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.