How to Reflect the Game Scene Well- Game Dev Series 59

Objective: Create gameobject reflection.

Object reflection is the key measurement of a game quality. In Unity, we can simply create reflection by its default element.

Reflection probe

There is a simple tool that allow us to create reflection effect in game scene.

In the hierarchy, click light>reflection probe to create one.

It will create a transparent cube in scene.

In the middle of this cube, you will see it create a simple reflection of the world automatically.

You can also check the reflection in the Inspector.

Then we can adjust the covering range of it. Click the edit button in Inspector, and adjust it by dragging the 6 sides.

And don’t forget to cover the floor.

You should see the result of reflection once you finish the editing.
We can also change some values in Inspector to get a better result.

This is a simple and fast way to create a reflection in scene. However, you might notice the quality of this is not quite well at all. It is fast, but it is kind of rough.

Screen space reflection

There is another way to create reflection by create functions in script which we will deep in to discover it later.

Here is a quick peek of this result of reflection.

It has lots of effects by using post processing. With this way of creating reflection, it present more details of gameobjects, and also change the tones of the environment.
However, it also require a better hardware to process.

So far we can easily use reflection probe to create the effect. Later, we will use post processing to create a better and higher quality of game scene reflection.

--

--

--

A passionate gamer whose goal is to work in video game development.

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Adding View Count to your JAMstack Website with JavaScript and Google Analytics

Six Steps To Migrate To Cloud

C# basics: Different ways to check a null object

Impact of Evergreen Platforms on Development and how not to handle it

How Java works

LVFHA — for pseudo classes

Building a blockchain application using Hyperledger Fabric with Angular Frontend: Part-2

Build Laravel 5.7 Email Authentication with Mailgun and Digital Ocean

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
S.J. Jason Liu

S.J. Jason Liu

A passionate gamer whose goal is to work in video game development.

More from Medium

Building a Custom Cinemachine Virtual Camera Zoom Feature with One Button in Unity

Day 105: Working with Animation Events in Unity

Working with Cinemachine

Adding FPS Functionality to the Player Controller in Unity 2021