Jump to content

  • Log In with Google      Sign In   
  • Create Account

We need your feedback on a survey! Each completed response supports our community and gives you a chance to win a $25 Amazon gift card!


how can i save a multisample rendertarget in dx9


Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.

  • You cannot reply to this topic
4 replies to this topic

#1 shusheng   Members   -  Reputation: 103

Like
0Likes
Like

Posted 24 September 2012 - 08:07 PM

as the title says,how can i do?thanks.

Sponsor:

#2 MJP   Moderators   -  Reputation: 11859

Like
0Likes
Like

Posted 24 September 2012 - 11:27 PM

You have to resolve it to a non-multisampled render target using StretchRect.

#3 shusheng   Members   -  Reputation: 103

Like
0Likes
Like

Posted 25 September 2012 - 06:01 AM

Thanks mjp.
That is to say,multisampled render target can't be acess?
I'm making a terrain editor,i want it support many to any textures (like unity 3d,how it do?).
So,i draw the brush textures on a rendertarget ,then save to a texture used to the terrain.
If the rendertarget is non-multisampled ,it is very vague.

#4 kauna   Crossbones+   -  Reputation: 2864

Like
0Likes
Like

Posted 25 September 2012 - 06:56 PM

Excuse me, but what is the point of using multisampled texture for terrain texturing?

Cheers!

#5 shusheng   Members   -  Reputation: 103

Like
0Likes
Like

Posted 26 September 2012 - 12:54 AM

Excuse me, but what is the point of using multisampled texture for terrain texturing?

Cheers!

No point used in the terrain!
The terrain only has one texture that is my rendergarget.
The brush contain on quad mesh and a brush texture.All the brushs render with topview .
And can therrin support many to any textures?Thanks.




Old topic!
Guest, the last post of this topic is over 60 days old and at this point you may not reply in this topic. If you wish to continue this conversation start a new topic.



PARTNERS