# I wanted to create a inner dropshadow for some shapes, ive tried using the DropShadow() method but i find it useless as im not having enough control over the shadow rendering

**URL:** <https://forum.juce.com/t/i-wanted-to-create-a-inner-dropshadow-for-some-shapes-ive-tried-using-the-dropshadow-method-but-i-find-it-useless-as-im-not-having-enough-control-over-the-shadow-rendering/59847>\
**Category:** General JUCE discussion\
**Created:** [February 6, 2024, 4:20am UTC](https://forum.juce.com/t/i-wanted-to-create-a-inner-dropshadow-for-some-shapes-ive-tried-using-the-dropshadow-method-but-i-find-it-useless-as-im-not-having-enough-control-over-the-shadow-rendering/59847 "2024-02-06T04:20:06Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![anxnthx](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/anxnthx/32/22701_2.png) [@anxnthx](https://forum.juce.com/u/anxnthx)\
**Post date:** [February 6, 2024, 4:20am UTC](https://forum.juce.com/t/i-wanted-to-create-a-inner-dropshadow-for-some-shapes-ive-tried-using-the-dropshadow-method-but-i-find-it-useless-as-im-not-having-enough-control-over-the-shadow-rendering/59847/1 "2024-02-06T04:20:06Z")

</div>

Is there a better way to render the inner shadow and modify the shadow alpha from various dimensions  
and angles(“more control”)?

---

<div class="post-metadata">

**Author:** ![stephenk](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/stephenk/32/15198_2.png) [@stephenk](https://forum.juce.com/u/stephenk)\
**Post date:** [February 6, 2024, 6:19am UTC](https://forum.juce.com/t/i-wanted-to-create-a-inner-dropshadow-for-some-shapes-ive-tried-using-the-dropshadow-method-but-i-find-it-useless-as-im-not-having-enough-control-over-the-shadow-rendering/59847/2 "2024-02-06T06:19:52Z")

</div>

Maybe try this?

> [@\[New Module\] Melatonin Blur](https://forum.juce.com/t/new-module-melatonin-blur/58756):
>
> Happy Friday, here’s a new JUCE module! I worked hard on this the last few weeks. I wrote and benchmarked a couple dozen Stack Blur and convolution implementations. Need to give up for now slight_smile Hopefully this will encourage others to make modern vector UIs in JUCE. It should let you use as many drop shadows and inner shadows you like without compromising painting performance: Let me know if you give it a try. I have a few ideas for how the API could be nicer, but would love feedba…

---

<div class="post-metadata">

**Author:** ![anxnthx](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.juce.com/anxnthx/32/22701_2.png) [@anxnthx](https://forum.juce.com/u/anxnthx)\
**Post date:** [February 6, 2024, 7:30am UTC](https://forum.juce.com/t/i-wanted-to-create-a-inner-dropshadow-for-some-shapes-ive-tried-using-the-dropshadow-method-but-i-find-it-useless-as-im-not-having-enough-control-over-the-shadow-rendering/59847/4 "2024-02-06T07:30:03Z")

</div>

Thanks for your quick response, i will try this!
