You are viewing development documentation

Open Live Docs

Version 6.4.0 is out!Hotspotting, in-shader Tonemapping, vertex lights, and bug fixes!

Get it now See What's New
Logo

UI Shaders

Main UI Shader

Options relevant to the orels1/UI/Main shader


This is a base shader for all the other UI shaders in the ORL Shader package. It supports all the native Unity UI functionality with an additional HDR Glow effect for emissive UI elements.

Main InspectorMain Inspector

  • Sprite Texture: Not meant to be changed. The texture used byt he UI Image element, set by the Unity UI system
  • Glow: The HDR color to multiply the texture by

The rest of the options are internal to Unity and are not meant to be changed.

This shader is used by all the other UI shaders in the ORL Shader package, so all of them get the Glow option automatically.

Overlay Variants

All of the shaders in the UI category also have an "Overlay" variant that renders on top of all the other objects. This is useful for things like world-space HUDs.

Previous
Block Fader