Jump to content

Instance geometry shader?


havenphillip
 Share

Recommended Posts

I think what I ended up doing was adding another surface to my model in which I added 2 vertices not linked to a triangle.  I placed one vertex at the location that I wanted for the AABB's min position and the other vertex at the location that I wanted for the AABB's max position.  Then I called Model::UpdateAABB().  I have a feeling this worked but can't be sure.

Another option might be to disable culling;

SetOcclusionCullingMode(false, true);

I'm not even sure if that's the right command.  It's been a while since I used LE4.

  • Like 1
Link to comment
Share on other sites

10 hours ago, Lethal Raptor Games said:

I think what I ended up doing was adding another surface to my model in which I added 2 vertices not linked to a triangle.  I placed one vertex at the location that I wanted for the AABB's min position and the other vertex at the location that I wanted for the AABB's max position.  Then I called Model::UpdateAABB().  I have a feeling this worked but can't be sure.

this up here GIF by Chord Overstreet

  • Like 2

My job is to make tools you love, with the features you want, and performance you can't live without.

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...