Skip to main content
GameDev.net gamedev.net
🔒 Locked

how can i save a multisample rendertarget in dx9

Started by shusheng Sep 25, 2012 at 2:07 AM 3 replies 2.6k views
Original Post
shusheng
shusheng
as the title says,how can i do?thanks.
MJP
MJP
You have to resolve it to a non-multisampled render target using StretchRect.
shusheng
shusheng
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.
kauna
kauna
Excuse me, but what is the point of using multisampled texture for terrain texturing?

Cheers!
shusheng
shusheng

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.

Topic Locked

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

Sign in to reply to this topic.