Solar Tools for PlayCanvas
  • Overview
  • Installation
  • Uranus SDK Systems
    • Uranus GPU Instancer
      • Get started with instancing
      • Working with LODs
      • Working with Cells
      • Working with Data
    • Uranus Material Effects
      • Get started with effects
      • Working with Skybox
  • Changelog
Powered by GitBook
On this page
  1. Uranus SDK Systems

Uranus Material Effects

PreviousWorking with DataNextGet started with effects

Last updated 2 years ago

Uranus Tools for PlayCanvas includes an ever growing library of easy to use effects scripts that can boost the graphics fidelity of your PlayCanvas projects.

How the effects work?

There are two main effects categories available:

  • Effects that are applied per to one ore more materials.

  • Effects that are applied globally and affect all materials generated.

A material in PlayCanvas defines the exact shader programs used to render a model surface on screen.

From the PlayCanvas User Manual:

"Every surface on a 3D model is rendered using a material. The material defines the properties of that surface, such as its color, shininess, bumpiness."

"A material determines how a particular mesh instance is rendered. It specifies the shader and render state that is set before the mesh instance is submitted to the graphics device."

Most Uranus Effects scripts leverage the PlayCanvas shader chunks system to override the minimum engine shaders required for the effect to function. That way these upgraded materials continue to work as expected with regular PlayCanvas lights and shadows.

uranus-effects-water.js
uranus-effects-multi-material.js