Jump to content

Custom Shader


Alienhead
 Share

Recommended Posts

Hey guys, I'm working on an interactive grass shader but ran into a small snag. 

I can't figure out why or where the red is coming from when a mesh is behind or beneath the grass geometry.

Is this caused by pixel error? as in the sampled pixel is out of bounds?

doh.png

I'm only happy when I'm coding, I'm only coding when I'm happy.

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