Jump to content

Disable Clipping


Gandi
 Share

Recommended Posts

Hi!

 

I have a small mesh, which i scale/position in my shader.. works fine so far.. the problem is, that it doesnt get rendered if i dont look at the "original" position of the mesh (it doesnt take into account the position given in the shader). is there a way of turning of this disappearing-effect?

Link to comment
Share on other sites

If you're changing the matrix around in the shader, this will cause problems because the data the GPU renders is not similar to what the CPU deals with. Add some vertices around the shape to encapsulate what you think the largest AABB will be.

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