Jump to content
Search In
  • More options...
Find results that contain...
Find results in...

Instance geometry shader?


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 post
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
Link to post
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.

×
×
  • Create New...