Underwater Manager (Optional)

Similar documents
Easy Decal Version Easy Decal. Operation Manual. &u - Assets

Opaque. Flowmap Generator 3

Flowmap Generator River Tutorial

The Shadow Rendering Technique Based on Local Cubemaps

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens)

Google SketchUp/Unity Tutorial Basics

MIXED REALITY (AR & VR) WITH UNITY 3D (Microsoft HoloLens)

Submerge Camera Shader

Unity Game Development

Working with the BCC Bump Map Generator

Chart And Graph. Features. Features. Quick Start Folders of interest Bar Chart Pie Chart Graph Chart Legend

Introduction. QuickStart and Demo Scenes. Support & Contact info. Thank you for purchasing!

Texturing Theory. Overview. All it takes is for the rendered image to look right. -Jim Blinn 11/10/2018

What is VertExmotion?

VEGETATION STUDIO FEATURES

8K Earth, Moon and Mars Shaders Asset V Documentation

OFFICIAL DOCUMENTATION. Based on Suimono version Documentation last updated on 7/5/2016

Carrara Tutorial: Undersea Effects with Light Cones and Gels in Carrara. Carl E. Schou. January 31, 2004

Planets Earth, Mars and Moon Shaders Asset V Documentation (Unity 5 version)

Shaders and Textures in Artlantis 2.0 By Gérard Bomer, Abvent

Working with the BCC Brick Generator

GLOBAL SNOW Reference Guide

Texture Mapping. Images from 3D Creative Magazine

Forward rendering. Unity 5's rendering paths. Which lights get what treatment?

Water/RIVER Set. Documentation. Based on AQUAS version 1.3

Auto Texture Tiling Tool

About the FBX Exporter package

Crack-Free Tessellation Displacement

This allows you to choose convex or mesh colliders for you assets. Convex Collider true = Convex Collider. Convex Collider False = Mesh Collider.

Ch 10: Game Event Management. Quiz # 4 Discussion

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more

Channel Packer - version 0.90

Game Design Unity Workshop

Optimizing and Profiling Unity Games for Mobile Platforms. Angelo Theodorou Senior Software Engineer, MPG Gamelab 2014, 25 th -27 th June

CS248 Lecture 2 I NTRODUCTION TO U NITY. January 11 th, 2017

Surface Detail Maps with Soft Self- Shadowing. Chris Green, VALVE

Sky Master ULTIMATE. Instructions

User Manual. Version 2.0

Dungeons+ Pack PBR VISIT FOR THE LATEST UPDATES, FORUMS, SCRIPT SAMPLES & MORE ASSETS.

CGDD 4113 Final Review. Chapter 7: Maya Shading and Texturing

3D Starfields for Unity

D3D Pythons 1. Material Utilities

Auto Texture Tiling Tool

Home. Quick Start. Menus. Terrain Generate. Scripting. Frequently Asked Questions. Basic Principles Quick Start Guide

VISIT FOR THE LATEST UPDATES, FORUMS & MORE ASSETS.

Planet Saturn and its Moons Asset V0.2. Documentation

Chapter 9- Ray-Tracing

DAZ Page 1. DAZ3D to Unity (Objects and Clothing)

Game Design From Concepts To Implementation

TUTORIAL 7: Global Illumination & Ambient Occlusion

PixelSurface a dynamic world of pixels for Unity

Better UI Makes ugui Better!

8iUnityPlugin Documentation

Rendering 13 Deferred Shading

ASSET DOCUMENTATION Mouse Interaction - Object Highlight Unity 3D Package. English

Mali Demos: Behind the Pixels. Stacy Smith

Creating and Triggering Animations

8iUnityPlugin Documentation

Computer Graphics (CS 543) Lecture 10: Soft Shadows (Maps and Volumes), Normal and Bump Mapping

Terrain. Unity s Terrain editor islands topographical landscapes Mountains And more

Chapter 4- Blender Render Engines

User Manual v 1.0. Copyright 2018 Ghere Games

Better UI Makes ugui Better!

Progress Bar Pack. Manual

Import / Object modes: 5 Layers for organising your scene are available at the top of the screen.

Chart And Graph. Supported Platforms:

OpenGl Pipeline. triangles, lines, points, images. Per-vertex ops. Primitive assembly. Texturing. Rasterization. Per-fragment ops.

The Application Stage. The Game Loop, Resource Management and Renderer Design

CS 354R: Computer Game Technology

Learn the fundamentals of shader writing in unity in this complete tutorial series.

2. Drag and drop the cloud image onto your desktop to be used later in the tutorial.

Technical Game Development II. Reference: Rost, OpenGL Shading Language, 2nd Ed., AW, 2006 The Orange Book Also take CS 4731 Computer Graphics

PSD to Mobile UI Tutorial

IAT 445 Lab 10. Special Topics in Unity. Lanz Singbeil

From Art to Engine with Model I/O

Tutorial: Using the UUCS Crowd Simulation Plug-in for Unity

Flowmap Generator Reference

Graphics for VEs. Ruth Aylett

Turn your movie file into the homework folder on the server called Lights, Camera, Action.

Tutorial 17: Using Visual Image

User Interface Layouts

Render-To-Texture Caching. D. Sim Dietrich Jr.


Computer Graphics (CS 543) Lecture 10: Normal Maps, Parametrization, Tone Mapping

Setting up A Basic Scene in Unity

X 2 -Toon: An Extended X-Toon Shader

LEVEL 1 ANIMATION ACADEMY2010

Shadow Techniques. Sim Dietrich NVIDIA Corporation

Chapter 11. Caustics and Global Illumination

Graphics for VEs. Ruth Aylett

The Making of Seemore WebGL. Will Eastcott, CEO, PlayCanvas

Physically Based Shading in Unity. Aras Pranckevičius Rendering Dude

ANIMATOR TIMELINE EDITOR FOR UNITY

In-Game Special Effects and Lighting

Property of: Entrada Interactive. PBR Workflow. Working within a PBR-based environment

Unity Scripting 4. CS 491 / DES 400 Crea.ve Coding. Computer Science

diffuse diffuse reflection refraction diffuse mapping diffuse reflection reflection filter mapping mapping reflection

New BFME2 World Builder Features Addendum to the BFME1 World Builder Manual

8 Human Skin Materials and Faking Sub Surface Scattering in Cycles

Chapter 5- Materials & Textures

Transcription:

Underwater Shaders - Version 1.5 Thank you for purchasing Underwater Shaders! Underwater Manager (Optional) The Underwater Manager prefab can be dragged into your scene. It is a simple game object with the UnderwaterManager.cs script attached to it. Drag as many underwater materials as you would like into the Materials property array. All materials that are part of the array will inherit the settings from the manager script. This makes it simple to set the same caustics and fog properties on multiple materials at the same time. Please open the Shipwreck example scene to see this in use. Please note that the Underwater Manager prefab and the UnderwaterManager.cs script are not required for the shaders to work. They are provided as an optional convenient way to manage the properties on multiple underwater materials.

Shaders All shaders have been written to appear and behave as similar as possible. Differences between them are as follows: Underwater/Standard Underwater-Standard Based on Unity 5 s physically plausible shader. Supports shadows and bump maps. Multiple light types are supported with shadows. Includes the standard shader parameters Smoothness and Metallic Does not include all of the features of Unity s standard shader. " Underwater/Desktop " Underwater-Desktop Based on Unity s Legacy/Bumped Diffuse shader. Supports shadows and bump maps. Multiple light types are supported with shadows. Non-directional lights don't contribute to the caustic effect. " Underwater/Mobile " Underwater-Mobile Based on Unity s Mobile/Diffuse shader. Supports 1 directional light only (With a shadow). All other lights are computed per-vertex (No shadows). Non-directional lights don't contribute to the caustic effect. " Underwater/Mobile Fast " Underwater-Mobile-Fast Calculates all lighting and fog in the vertex function (Fast). Does not support shadows or bump maps. Supports 1 directional light only. May not work well with large distances between vertices. " Underwater/Terrain " Underwater-Terrain Based on Unity s Built In Legacy Diffuse terrain shader. Bump maps are supported. Supports shadows from 1 directional light only. Non-directional lights don't contribute to the caustic effect. Underwater-Terrain-AddPass is required when painting with more than 4 textures on the terrain. " Underwater/Terrain Fast " Underwater-Terrain-Fast Calculates all lighting and fog in the vertex function (Fast). Does not support shadows or bump maps. Supports 1 directional light only.

Underwater-Terrain-Fast-AddPass is required when painting with more than 4 textures on the terrain. Underwater/Transparent/Mobile Underwater-Mobile-Transparent Underwater/Transparent/Desktop Underwater-Desktop-Transparent Underwater/Transparent/Standard Underwater-Standard-Transparent These are the same as their counterparts described above with the addition of transparency via the alpha channel of the main texture. How to use the terrain shaders 1. Create a new material and assign either Underwater/Terrain or Underwater/Terrain Fast shader. 2. Select the terrain asset in the hierarchy. 3. Open the terrain settings in the inspector. 4. Change the Material drop down to custom. 5. Drag and drop the material you created into the Custom Material slot. Note: If you assign a new shader to the terrain material, you may need to temporarily change the material in the Custom Material slot to something else and then change it back to see the new shader take effect.

Parameters Main Texture (_MainTex) Main color texture. (RGB) Alpha when used with a transparent shader (A) Does not apply to the terrain shaders. Bumpmap (_BumpMap) Normal bump map. Desktop shader only. Does not apply to the terrain shaders. Caustics Caustics Texture (_Caustics) Uses a 4 channel image (RGBA). Requires an alpha channel. Each channel is animated separately in the shader. UV independent always projected from world vertical axis. Tiling and offset are ignored. Tiling(XY) Offset(ZW) - Overrides texture coords (_CausticsCoord) Use to modify the caustic texture tiling and offset Required for custom light functions Speed (_CausticsSpeed) Sets the speed of the caustic effect animation. Boost (_CausticsBoost) Boost lighting to the caustic effect. A value of 0 simulates a multiplicative blend mode, where the areas not lit by caustics are darkened. A value of 1 simulates an additive blend mode, where the areas not lit by caustics are unchanged and the areas lit by caustics are doubled in intensity. Intensity A (_CausticsIntensity0) Intensity for caustics at height (World Y) Position A 0 = No Caustic effect (Basic lambert lighting). 1 = Full caustic effect. Intensity B (_CausticsIntensity1) Intensity for caustics at height (World Y) Position B 0 = No Caustic effect (Basic lambert lighting). 1 = Full caustic effect. Position A (World Y) (_CausticsPosition0) Position (Height in world Y) for intensity A.

Caustic intensity A will fade to B starting at this World Y position. Position B (World Y) (_CausticsPosition1) Position (Height in world Y) for intensity B. Caustic intensity B will fade to A starting at this World Y position. Fog Color A (_FogColor0) Color of the fog at world y position A. Independent of Unity's fog. Color B (_FogColor1) Color of the fog at world y position B. Independent of Unity's fog. Intensity A (_FogIntensity0) Intensity of the fog at world y position A. 0 = No fog. 1 = Full fog. Intensity B (_FogIntensity1) Intensity of the fog at world y position B. 0 = No fog. 1 = Full fog. Position A (World Y) (_FogPosition0) Position (Height in world Y) for intensity and color A. Fog intensity and color A will fade to B starting at this World Y position. Position B (World Y) (_FogPosition1) Position (Height in world Y) for intensity and color B. Fog intensity and color B will fade to A starting at this World Y position. Start (_FogStart) Start distance from the camera's position. End (_FogEnd) End distance from the camera's position.

Changelog Version 1.5 Added alpha transparency versions of the Mobile, Desktop and Standard shaders. Version 1.4 Modified sample scenes. Optimized performance of shaders. Version 1.3 Added Underwater/Standard shader. Added UnderwaterManager.cs script and Underwater Manager prefab. Version 1.2 Added Boost (_CausticsBoost) property. Renamed Underwater/Mobile shader from version 1.1 to Underwater/Mobile Fast. Added new Underwater/Mobile based on Unity s Mobile/Diffuse. Modified Underwater/Desktop to support multiple lights. Added Underwater/Terrain and Underwater/Terrain Fast. Added Pool and Terrain demo scenes. Version 1.1 Changed shaders from Low/High to Mobile/Desktop Added shadows and bump mapping to desktop shader Added height (World Y) based intensity to caustics Added height (World Y) based color and intensity to fog Modified demo scene to reflect changes Version 1.0 Initial release