Jump to content

Z Order?


Spacechimp
 Share

Recommended Posts

Hi,

 

I am having trouble getting something to draw last. It is a gui mesh, and I want it to draw last on top of everything else. I kinda thought that zsort in the .mat file would achieve this. It doesn't seem to do this however?

 

I am kinda thinking I need to be doing something special with the buffers? I dunno. Any ideas, hints, or direction would be welcome. Thanks!

Link to comment
Share on other sites

  • 8 months later...

I read this with interest, I am trying to do a similar thing... but failing, I tried using the z-sort... with depth mask and depth test settings, but my model appears to get culled... also the problem I have with this is my model has multiple materials so this causes problems in it's appearance..

 

I have not really worked much with worlds, I use the standard foreground for emitters. but can someone help me by explaining how I create my own world (yes I know CreateWorld :D ) but once it is created how do I ensure my model is rendered to that world and how do I ensure that that world is "on top" of everything else?

If it's not Tactical realism then you are just playing..

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share

×
×
  • Create New...