Document toolboxDocument toolbox

Prespective Rendering Pack

Description

This asset pack contains materials created for industrial purposes and works great with the Prespective Digital Twin toolkit. With it, you can turn any project into a high-quality and good-looking project. It provides an easy-to-use solution to implement realistic aesthetics in your projects. There are no other requirements, everything you need to get started is present within the package.

 


Install guide

You can download and import the asset pack from the Unity Asset Store.

https://assetstore.unity.com/packages/2d/textures-materials/prespective-rendering-pack-158091


Getting started

After importing the asset pack, two example scenes can be found in the project folder under Assets > Prespective Rendering Package > Example Scenes. These scenes will provide you with example implementations of the materials in this asset pack.


Standard Prespective materials

How to use

You can find the materials in the project folder under Assets > Prespective Rendering Pack > PreBR Materials

 

There are 3 ways to apply a material :

 

  1. Drag and drop the material from the project folder on each specific part of the model;

  2. Select all the models of which you would like to change the material. Next, drag and drop a material from your project folder in to the inspector;

  3. Find the references in the scene with the same material and replace it with the new one.

 

After selecting a material, you can make various adjustments such as:

  • Adjust the color of the material;

 

  • Adjust the tiling of the texture map when the tiling is too small or too big. To avoid seams, always use whole numbers.

Tips:

  • When adjusting a material, it is advised to first make a backup of the material by duplicating it. To do so, press “Ctrl+Dwith a material selected in the project folder.

  • More info at https://docs.unity3d.com/Manual/Shaders.html


Reflection probe

Description

A Reflection probe can be seen as a 360° camera that makes a picture from its exact position. This picture will be used on every model in the scene which has reflections so it knows what to reflect.

How to use

In the example scene, the Reflection probe can be found in the Hierarchy under PreFAB Scene > Pre_flection Probe. Otherwise, create a new reflection probe by clicking on GameObject > Light > Reflection Probe.

Note: Reflection probes reflect both the skybox and models that are set to “Static“ in the Inspector.

 

When the Reflection probe is selected, the Inspector shows several options to edit:

 

  • Type

    • The type of reflection. This is set to “

    Custom” by default. If you prefer to customize set this to “Baked

  • Box Size

    • The box size determines the area that is affected by the Reflection probe. If an object is outside of this box it will not be incorporated in the reflection.

  • Resolution

    • Determines the resolution of the reflection. The default value is

    512. Increase this value to increase the reflection quality.

  • Bake button

    •  

    If you are done editing your options you can press “Bake“ at the bottom to finalize your reflections.

Tips:


Camera & Post Processing

Description

The camera is used to render the Game View image. For the best presentation results we have added two components to the standard camera:

  • Point Focus Camera

Gives you the ability to zoom and rotate around a specific predefined point of interest or coordinates.

  • Post Processing Layer

This is an image effect overlay for the camera that enhances the visual quality. The effect can adjust the colors, add bloom, screen space reflections and much more.

How to use

Point Focus Camera

In the example scene, the camera can be found in the Hierarchy under PreFAB Scene > Pre_Camera. When play-mode is activated, you are able to control the camera. You can control the camera with you mouse:

  • Press and hold the Left mouse button to rotate.

  • Use the scroll wheel to zoom in and out.

When you select the camera a red dot appears in your Scene view. This is the point of interest.

Note: Unpack the “PreFAB Scene” object in the Hierarchy before you edit the camera options.

Adjusting the point of interest can be done using one the following methods:

 

  • To adjust the camera’s point of interest you can edit the XYZ coordinates of the “Focus Point”

  • Drag and drop an object you want to focus the camera on from your Hierarchy into “Focus Object

 

 

 

Tip:

  • Use the “Dragspeed” to control the rotation speed of your camera in play-mode

Post Processing Volume

In the example scene, the Post Process Volume can be found in the Hierarchy under PreFAB Scene > Post-process Volume. In the Inspector you can find the options for your Post-process Volume.

 

  • Uncheck the boxes to turn effects off or on.

  • In the Screen Space Reflections you can find “Preset“. This affects the quality settings of the reflections. This is set to “Custom“ by default which gives you a good balance between performance and presentation quality.

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tip:

  • If you are testing in play-mode and the frames are dropping, try another “Preset“ in the Screen Space Reflections. Try and select one that better fits your system’s hardware.


 

 

Prespective Documentation