Jump to content

View more

Image of the Day

The night is still, but the invasion brings chaos. #screenshotsaturday #hanako #indiegame #gameart #ue4 #samurai https://t.co/cgILXuokoS
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 exactly is scissor rect used 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
No replies to this topic

#1 jerrycao_1985   Members   

145
Like
0Likes
Like

Posted 05 November 2012 - 07:06 AM

hi all

I'm just curious how exactly scissor rect is used in DX9?
There is little about it in the doc.

And i know that there is a render state "D3DRS_SCISSORTESTENABLE" to be enabled if scissor rect is used.

I tried enabled it and set the rect before clear operation , it worked fine but the text is not clipped.
But if I moved the operations after the clear operation , it didn't work at all.

What's is going on under the hood??

somebody give me some tips , appreciate it !!
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.