Seaside Studios
3D Shader
3D Shader
  • What is All In 1 3D Shader
  • Overview
  • First Steps (Must Read)
  • URP And Post Processing Setup
  • Asset Component Features
  • Asset Window
  • Saving Prefabs
  • Convert Materials to 3D Shader
  • Light Models
  • Effects List
  • Scripting
  • Batch Override Materials
  • How to animate effects
  • Advanced Configuration and Key Rendering Concepts
  • How to Enable/Disable Effects at Runtime
  • Random Seed
  • Scaled Time
  • Outlines
  • Wind Effect and Wind Controller
  • Depth Coloring - Stylized Fog
  • Shadow Color
  • Fast Lighting
  • Performance Considerations
  • FAQ (Frequently Asked Questions)
Powered by GitBook
On this page

Saving Prefabs

PreviousAsset WindowNextConvert Materials to 3D Shader

Last updated 1 month ago

By default this asset doesn’t save the Material you are using, instead it keeps it as part of the Scene in order to avoid having too many objects cluttering your project. This means that by default, when you turn a GameObject with an 3D Shader material into a prefab, the prefab won’t render correctly since it doesn't have a reference to the Material inside the Project Asset files.

In order to save a Prefab you first need to save its Material. You can do so with the “Save Material to Folder” button that you’ll find on the asset component: