Jump to content

View more

Image of the Day

Boxes as reward for our ranking mode. ヾ(☆▽☆)
#indiedev #gamedev #gameart #screenshotsaturday https://t.co/ALF1InmM7K
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

Viewport Z for background

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 Eric Cannet   Members   

128
Like
0Likes
Like

Posted 08 October 2012 - 08:38 AM

Hello,

I want to render a sky in background of all my geometry. So I tried to set viewport MinZ and MaxZ to 1 (like it says in DirectX SDK documentation) but I still have geometry behind like if z was not to 1.

If I change my vertex shader by changing z position to w it works.

Any idea why it does works with the viewport ?

Thanks

Edited by Eric Cannet, 12 October 2012 - 03:38 AM.





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.