Visual Effects Example and Tutorial for Unity



**UPDATE: fixed the reflection lag, please use new .cs file**

The piano, plants and tables are free items from the unity Asset store. The point of this experiment was to try to make a type of lighting that matched the theme of the game I'm working on at the moment. Since this is just the test scene and it doesn't actually have any assets in it, I'm showing it as an example of what is possible in unity.

The reflections don't display perfectly on WebGL but the screenshots display how it should look like if you attempt doing this tutorial;


To make a similar look in Unity you will need to do:
Assets > Import Package > Effects


ON AN EMPTY GAME OBJECT:
Add a Reflection Probe (unity asset)

This is the effect that makes reflections on any material

bellow is the settings I used in my project:

HIGHLY RECOMMENDED:

Reflection probes are highly demanding on computers so you should use a script to detect when to render it. You can use your own or use the one I included bellow (C#).

What it does is that it dynamically updates the rendering if the player moves. You can also control how many times it executes rendering when a movement is detected and how many times per frame it activates. The instruction on how to use it is written inside it.

The script is free to use even in commercial settings as long as you give credits. (Veronique J. Morais)

Suggested settings for the code you can download bellow:


ON YOUR MATERIALS:

set the smoothness to see reflections the way you like them.


ON THE CAMERA:

  • Sun Shafts
    set shaft caster as a directional light and center on player
  • Bloom - optimized
    This makes lighter colors glow, set it how you like it
  • Vignette
    That one adds a blured and darkened frame to the camera
  • Antialiasing
    softens the edges of your objects to make them look more smooth.
  • Color Correction Curves
    This filter can put emphasis on certain colors that you wish to make stand out more. Like if the pickups are blue, you can make blue brighter using the curves.

Message bellow if you need help


Assets used:

Flowers:
https://www.assetstore.unity3d.com/en/#!/content/11920

Piano:
https://www.assetstore.unity3d.com/en/#!/content/154


Veronique J. Morais

StatusIn development
PlatformsHTML5
Release date Oct 22, 2016
Authortenedria
GenreSimulation
Made withUnity
Tagsartgame, Atmospheric, demo, Game engine, lighting, Tutorial, Unity, Walking simulator
Average sessionA few seconds
LanguagesEnglish
InputsKeyboard
AccessibilityTextless

Download

Download NowName your own price

Click download now to get access to the following files:

ReflectionUpdates.cs 3 kB

Leave a comment

Log in with itch.io to leave a comment.