Jump to content
  • Advertisement

Archived

This topic is now archived and is closed to further replies.

jevdsnny

Hidden Surface Removal

This topic is 6306 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

Has anyone else had problems with HSR in the terrain engine? Landscapes showing through foreground tiles and the like?

Share this post


Link to post
Share on other sites
Advertisement
I noticed a problem in one of my winamp plugins. I fixed it by calling this at the beginning of the frame:

PR_Globals.PR_Direct3DDevice->lpVtbl->SetRenderState(PR_Globals.PR_Direct3DDevice, D3DRS_ZWRITEENABLE, 1);

This gets turned off when using the lightmap_add rendering method and for some reason it wasn''t restored. I haven''t noticed it any of the PR examples though.


Share this post


Link to post
Share on other sites

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!