Sign in to follow this  

Viewport Z for background

This topic is 1927 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

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

Share this post


Link to post
Share on other sites
Sign in to follow this