Helix128 / BlobShadowBaker

Simple tool for baking blob shadow textures in Unity!

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Blob Shadow Baker

Simple tool for baking blob shadow textures in Unity! Now with URP support!

(OLD) Demo GIFs

Demo GIF 1 Demo GIF 2

Usage

The tool is located at the editor tab Tools->Shadow Baker.

Parameters:

-Target

The target Transform of the object that you want to create a shadow.

-Texture Size

Shadow texture resolution. Higher means more quality but a larger file size.

-Orthographic Scale

Scale of the camera used for rendering the shadow. Increase it if the shadow does not fit the image.

-Blur Intensity/Iterations

Gaussian blur effect for the shadow texture. Increase the iteration count if your texture has banding.

-Bake Children

Enable/disable children gameobjects appearing in the shadow.

Output

The shadow output will be generated at BlobShadowBaker/Output/(ObjectName+ObjectID).png

Extra

This asset also includes a shadow decal shader by Ronja Böhringer for the Built-in RP.

About

Simple tool for baking blob shadow textures in Unity!

License:MIT License


Languages

Language:C# 62.8%Language:ShaderLab 37.2%