Jump to content

Recommended Posts

Posted

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?

Posted

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.

Posted

The grass mesh radius encompasses the whole volume of the grass, unless it is placed on a cliffside or something extreme like that.

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

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