Alienhead Posted February 9, 2023 Share Posted February 9, 2023 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? Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Alienhead Posted February 9, 2023 Author Share Posted February 9, 2023 Found it.. After a full day of combing code, the problem was an alpha layer in the grass texture itself. 1 Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Alienhead Posted February 10, 2023 Author Share Posted February 10, 2023 strafe plus move detect : if ( down or up ) and ( left or right ) then move = move / 2 end Long day, wrong forums.. Sorry : ) Quote I'm only happy when I'm coding, I'm only coding when I'm happy. Link to comment Share on other sites More sharing options...
Recommended Posts
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.