Get started with effects

All Uranus Material Effects come in the form of standalone scripts which you can add to your scene.

Per material effects

These effects expose a script attribute which you can use to reference one or more materials, which will then be upgraded with the selected effect.

uranus-effects-multi-material.js, script attributes

Global material effects

These effects should be added early on your scene hierarchy before any model is enabled. That is required since they override global engine shaders for all materials.

A good place for these effects are at your Root scene entity or just after that.

The effects that work globally are:

  • uranus-effects-skybox.js

  • uranus-effects-environment-fog.js

  • uranus-effects-material-contrast.js

  • uranus-effects-shadows-timer.js

Template Commons

For some of the more complex effects like the Uranus Skybox effect and the Uranus Water effect, you can find templates in the Uranus SDK commons folder to easily get started with.

Drag and drop the template asset at your scene, make sure all the required effect layers are added to your project and to all of your active cameras, and the effect should get activated.

Uranus SDK Template Commons

Last updated