It is currently April 26th, 2024, 7:41 pm

How To Add Shadows On Backgrounds

Get help with creating, editing & fixing problems with skins
User avatar
eclectic-tech
Rainmeter Sage
Posts: 5407
Joined: April 12th, 2012, 9:40 pm
Location: Cedar Point, Ohio, USA

Re: How To Add Shadows On Backgrounds

Post by eclectic-tech »

Well, you didn't try with the right graphic.

Use this 25x25 pixel image (similar to Enigma's):
SkinBack.png
Then (as described above) in the image meter you create for this image, use:

Code: Select all

ScaleMargins=10,10,10,10
You will need to set the desired Width and Height (try 180 pixels for each) on that image meter; the outer 10 pixels on each side will not be changed, the interior of the box (160 by 160 pixels) will be scaled and colored the same as the interior 5x5 pixels of the image.
You do not have the required permissions to view the files attached to this post.
User avatar
jsmorley
Developer
Posts: 22631
Joined: April 19th, 2009, 11:02 pm
Location: Fort Hunt, Virginia, USA

Re: How To Add Shadows On Backgrounds

Post by jsmorley »

Or this one:
BackShadow.png
1.jpg
With a white interior, you can ImageTint it to whatever you need.
You do not have the required permissions to view the files attached to this post.
User avatar
Droyk
Posts: 56
Joined: July 9th, 2015, 7:40 am

Re: How To Add Shadows On Backgrounds

Post by Droyk »

eclectic-tech wrote:Well, you didn't try with the right graphic.

Use this 25x25 pixel image (similar to Enigma's):
SkinBack.png
Then (as described above) in the image meter you create for this image, use:

Code: Select all

ScaleMargins=10,10,10,10
You will need to set the desired Width and Height (try 180 pixels for each) on that image meter; the outer 10 pixels on each side will not be changed, the interior of the box (160 by 160 pixels) will be scaled and colored the same as the interior 5x5 pixels of the image.
jsmorley wrote:Or this one:
BackShadow.png
1.jpg
With a white interior, you can ImageTint it to whatever you need.
Untitled-2.png
Thanxx guys this helped me a lot !!!! :rosegift:
i like both of your ideas jsmorley and
eclectic-tech

and
jsmorley your method doesn't give smooth blurry shadow ...
that's it guys thanxxx ........ :) ;-) :great:
You do not have the required permissions to view the files attached to this post.