Jump to content

View more

Image of the Day

WIP title screen for #DeathOfAPartisan #screenshotsaturday #gamedev https://t.co/qJNhfZCvd4
IOTD | Top Screenshots

The latest, straight to your Inbox.

Subscribe to GameDev.net Direct to receive the latest updates and exclusive content.


Sign up now

how can i save a multisample rendertarget in dx9

4: Adsense

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   

103
Like
0Likes
Like

Posted 24 September 2012 - 08:07 PM

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

#2 MJP   Moderators   

19477
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   

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   Members   

2922
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   

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.