Skip to content

Help Needed: Shadow Effect Near Shape Edges Using Shaders #169

@codyadam

Description

@codyadam

Hi, I saw on the README this image:

img

At the end of the clip, you can see that the ground has a shadow inside the shape. The closer to the edge of the shape, the more the shadow fades out.

I've been searching for a while now on how to create this effect using shader material, but I haven't found any clues. I don't know how to detect an edge using shaders without resorting to very expensive Gaussian blur techniques.

Does anyone have an idea on:

  • Where this image comes from?
  • How to recreate this shadow effect?

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions