Skip to content

First Steps (Must Read)

The asset includes a component that will do all the material setup for you. The component is called “AddAllIn13DShader”:

The Add Component menu with addallin13D typed in its search, finding the AddAllIn13DShader component

When you add it, a Unity default, Standard shader or package material is swapped for a new instance of the 3DShader material. A custom material of yours is kept: press New Clean Material on the component to replace it. A prefab asset is left alone. The component also has some features that are overviewed in the asset-component-features section. This will of course only work when the gameobject has a Renderer component such as a Mesh Renderer, Particle System, Sprite Renderer etc… Without one the component removes itself. At this point you’ll see that the custom Material Inspector of the asset is available below the components of the object, you’ll be able to start using the Material, enabling/disabling effects and experimenting with the visuals. Once the component is added and the material swapped you can access all the shader effects and options by unfolding the Material Inspector.

The AddAllIn13DShader component with its buttons
The Material Inspector below the component: presets, global properties and the list of effects grouped by Lighting and Color Effects

To see what each effect does and learn about the shader’s capabilities, please check out these sections:
effects-list
advanced-configuration-and-key-rendering-concepts

If you are using URP please read the next following sections:
urp-and-post-processing-setup
urp-shader-feature-configuration

For materials to animate properly in the Scene window you’ll need to make sure that “Always Refresh” is checked:

The Scene view toolbar dropdown of Skybox, Fog, Flares and other effects, with Always Refresh ticked and highlighted