Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BlurHash shadow #6

Open
aytunch opened this issue Feb 22, 2020 · 1 comment
Open

BlurHash shadow #6

aytunch opened this issue Feb 22, 2020 · 1 comment

Comments

@aytunch
Copy link

aytunch commented Feb 22, 2020

Let's say we use a Stack and place the BlurHash image on bottom and the actual image on top(BlurHash image being a little bigger than the actual image). I haven't tried but just by imagining, this might end up with a cool shadow effect instead of the normal fixed color shadows. Of course in this case we would need to gradually decrease the opacity of the blurhas image for it to look like a real shadow.

@DagAgren
Copy link

I've really wanted to try this. You could possibly extend the edge colour outwards, or just scale up the blur image a bit, and apply a gaussian blur as a mask.

You'd probably want to either darken the blurhash, or combine it with a second black shadow. This way you would emulate the effects of indirect reflections when shadowing.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants