0
\$\begingroup\$

Does anyone have any idea how to implement a shader that manages to make this effect in Unity?

enter image description here

I found a post that explains, but I'm still learning shaders so I didn't really understood how to go around and implement it.

From my understanding we go about creating a noise texture to wrap the object, and the areas where we find white pixels a leaf quad should be generated. My problem is with generating geometry via shaders on those pixels.

\$\endgroup\$
2
  • \$\begingroup\$ Can you walk us through what parts of that post you understand, and what's the first part you're struggling with, so we know what to focus on in our answers? \$\endgroup\$
    – DMGregory
    Sep 18 at 0:46
  • \$\begingroup\$ Sure, from what I understood we generate some Perlin Noise wrapping the object. Where the texture is white a mesh should be generated. I have no clue how to generate the quad for the leaf via shader. \$\endgroup\$ Sep 18 at 12:34

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.