This image was generated by using the following prompt:
Prompt: Funny cow cartoon character, no background, no shadow, for clip art.
Negative prompt: (worst quality, low quality, normal quality:1.8).
The background was removed by Stable Diffusion as shown in [Removing background with stable diffusion].
This image was generated by using the following prompt:
Prompt: Close up 3D image of a cartoon farm on a bright sunny day, mountain, barn, and water tower in the background, beautiful clouds in the sky.
Negative prompt: (worst quality, low quality, normal quality:1.8).
Open the cow with no background image in Photoshop, [Control + A] to select all, [Control + C] to copy.
Open the farm image, and [Control + Shift + V] to paste.
[Control + T] to resize the image.
Since the shadow is casting toward the right, we need to flip the cow image to match the shadow status.
Please resize the cow clip art image, so it would look good on the new image.
Create a new layer in the middle.
Paint the cow’s shadow.
Adjust the opacity of the shadow layer to match other shadows in the image.
This is the end of the tutorial. 🙂