Pryme8 Posted March 22, 2018 Share Posted March 22, 2018 http://www.babylonjs-playground.com/#1TDIAH Ok, so I am trying to figure out how the heck to attach a custom attribute and had to simplify things a whole bunch to try to understand what is happening. I am trying to attach a "offsets" attribute to each point and then in the vertex Shader manipulate the positions with the offsets. http://www.babylonjs-playground.com/#1TDIAH#1 but as in this example it causes the shader to invalidate. this is directly related to the post: I just need to get a better understanding of some of this stuff before I move on. Figured this stuff will be important for rendering dynamic procedural foliage fields. Quote Link to comment Share on other sites More sharing options...
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.