Liquid Potion

Introduction

Welcome to the Liquid Potion Shader documentation. This shader for Unity provides customizable liquid, glass, and bottle shaders, enabling you to create realistic potion effects with adjustable liquid levels, colors, and glass properties. This documentation will guide you through the initial setup and configuration to help you get the most out of the Liquid Potion Shader.

Quick Start

Basic Configuration

Adjusting Liquid Levels

  1. Select the object with the Liquid Potion Shader applied.

  2. In the Inspector, locate the Liquid Amount property.

  3. Use the slider or input field to adjust the amount of liquid in the container.

Liquid Properties

  • Base Color: Defines the main color of the liquid.

  • Top Color: Specifies the color at the surface of the liquid.

  • Mid Color: Determines the transition color between the Top Color and Base Color.

  • Liquid Amount: Adjusts the volume of liquid in the container.

  • Mid Amount: Controls the transition between the bottom and top colors.

Glass Properties

  • Fresnel Color: Sets the color of the glass.

  • Fresnel Power: Adjusts the transparency of the glass.