Shaders: Difference between revisions

From VRChat Wiki
Created page. Needs extension (WIP)
 
DAG-XR (talk | contribs)
m Usr 8ee44c1a-f905-4e08-bb61-e1cd34e09fc0 moved page Shader to Shaders: Changed article name to 'shaders'; Manual of Style for article names
(No difference)

Revision as of 01:03, 7 February 2025

V · EThis page is a stub.
You can help the VRChat Wiki by improving it.
[Reason: You can contribute by expanding and proofreading this article, in accordance with the Manual of Style.]

A Shader is a program in the Unity Game Engine that is used to create the appearance of a Material.

The usage of Shaders in VRChat are one of the main fundamental aspects of Avatar and World creation. A Shader program defines the look and appearance of the Material consisting of various special effects, which are used on an Avatar's mesh or a World object. Additionally, anything you see when you play VRChat (Avatars, the Main Menu, HUD, the World) are all rendered using a Shader.

Types of Shaders

In VRChat, there are a large number of various different shading styles seen in the game. They can have the appearance of flat colors in a cartoony style, or have a realistic appearance where rounded areas having a dimmed appearance when reacting to certain lighting conditions.

Shaders are coded through various methods in Unity for the Built-in Rendering Pipeline, which VRChat is rendered on.

VRChat Shaders

The VRChat SDK includes a few shaders created by the developers for usage in both Avatar and World creation. Many of them are designed to be optimized for mobile platforms, such as on the Meta Quest.

Standard Lite

VRChat/Mobile/Standard Lite

The Standard Lite shader is based off of Unity's default Standard Shader, but with a few improvements. It's mainly designed to be lightweight and easy for the game to render on mobile platforms. The features of Standard Lite closely match with Unity Standard's features.

There are a few different things with Standard Lite however, such as:

  • Specular Lightprobe Hack: When enabled, will instead use Light Probes as light sources for specularity. (Default)
  • MonoSH Support: Used for Worlds that is using the Bakery Lightmapper.

Toon Lit

VRChat/Mobile/Toon Lit

Toon Lit is a very basic flat Shader consisting of one feature. There is no shading performed whatsoever and is instead rendered Flat.

Supersampled UI

VRChat/Mobile/Worlds/Supersampled UI

The Supersampled UI shader is primarily used in Worlds containing interactive User Interface elements. The main difference however is that it provides better sampling of Text in the UI.

In many Worlds, you most commonly see these elements in "Settings" panels for the World you are in.