Sign in to follow this  
ybatra

Render texture data to a Render target Surface

Recommended Posts

ybatra    155

Hi all group members,  I'm a beginner in DIrectX and I have following doubt, hope I can get the answer at this group. 

Let say Texture (T1) is an alias of render target surface (s1) and I have rendered a triangle on the RT surface( s1), I want to render texture's(T1) data onto a render target surface(S2) using texture lookup into pixel shader in second draw call. So in the end S1 and S2 should have same data or not? 

Share this post


Link to post
Share on other sites
ybatra    155

Hi all group members,  I'm a beginner in DIrectX and I have following doubt, hope I can get the answer at this group. 

Let say Texture (T1) is an alias of render target surface (s1) and I have rendered a triangle on the RT surface( s1), I want to render texture's(T1) data onto a render target surface(S2) using texture lookup into pixel shader in second draw call. So in the end S1 and S2 should have same data or not? 

I meant both the surfaces S1 and S2 will have the same pixel values or not? 

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this