top of page

Uber Simple Lit Shader

Description :

I created this shader to serves as a standard template and default shader for my team. To achieve needed graphic features while maintaining optimized performance.

Feature Lists :

  1. Helper tools box

  2. Surface Option

  3. Main Color Feature

  4. UV Features

  5. Top bledning Feature

  6. UV Animation Features

  7. Emission Feature

  8. Vertex Animation Feature

  9. Dissolve Feature

Rendering Pipeline : Support both Built-In and URP.

Platform : Tested on PC, Android, iOS and Nintendo Switch.

Usage Example :

Example 1

Usage2.gif

Example 2

Usage1.gif

Helper Tools box :

This feature is utility tools to increase more productivity and speed when working with this shader.

Features List :

[1.Vertex Color Debugger] Use to debug vertex color

[2.DefaultValue] Use to reset all value to default

Helper Toolsbox overview

HelperToolsbox.gif
VertexColorDebug.gif

Vertex Color Debugger

ResetDefault.gif

Set Default

Surface Option Feature :
Control surface rendering of material by your choice.

Surface Option overview

SurfaceOptionOverview.gif

Alpha Clip Feature

AlphaClip.gif

Main Color Feature :

Color mode feature overview

colorFeature.png

Features List :

[1.Texture Only] Use color from texture only

[2.Blend vertex color] Blend vertex color of mesh with color from texture

Vertex Color blending :

Example 2 : Vertex Color additional color

VertexColor.png

Example 4 : Vertex Color as a fake aura

Example 1 : Vertex Color as AO

OpaqueVertexColor2.png
OpaqueVertexColor.png

Example 3 : Vertex Color as Black fog and fake light

VertexColorAO.png

UVs coordinate Feature :

Feature overview

Features List :

[1.Local] Use UVs coordinate from mesh UV channel 1

[2.World] Use world UVs coordinate

World UV Coordinate

worldUV.gif

Local UV Coordinate

localUV.gif

Top blending Feature :

Blend another texture with your object's surface along the Y direction.

Feature overview

topcover3.png

Example 1

topcover1.gif

Example 2

topcover2.gif

UV Animation Feature :

Features List :

[1.Panner] Scrolling Offset U and V of UVs

[2.Rotator] Rotate UV from center

UV Scrolling feature

Scroll Feature.png

UV Rotation feature

Rotation Feature.png

Example : Panner

UVScroll.gif

Example : Rotator

UVRotation.gif
UVRotation2.gif

Emission Feature :

Features List :

[1.Default] A default emission color with 2 parameters, emission texture and tint color (HDR)

[2.Blink] Allow emission color to blink by itself

[3.Fill] Fill emission from bottom to top to create specific effect

[4.Glint] Create a glint effect on meshes from selected direction.

 

feature overview

emission overview.gif

Example 2 : Fill 

Fill.gif

Example 3 : Glint 

GlintOn.gif

Example 1 : Blink

blink.gif

Vertex Animation :

By Custom Value :

Control vertex animation based on prepared parameters.

 

Custom Value animation feature overview

ByCustomValue.png

Example 1 : Rotation

rotate.gif

Example 2 : Transition

transition.gif

Example 3 : Both

combination.gif

By Vertex Color Animation :

Control vertex animation by assign vertex color into mesh.

 

Vertex color animation feature overview

vertexcolor.gif

Example 2 : Scale

VertexColorAnimScale.gif

Example 1 : Bend

VertexColorAnimBend.gif

Dissolve Feature :

Make objects fade away using the dissolve method. The visual is controlled by your dissolve mask texture and color.

Dissolve Feature overview

Dissolve.png

Usage Example

Dissolve.gif

My Graph :

image.png
Icon-ToolsUse.png

Tools used

Shader Creation

Icon-Unity.png

Unity (Built-In, URP)

Icon-Amplify.png

Amplify Shader Editor (Shader creation)

Icon-HLSH.png

​HLSLPROGRAM​ (Shader creation)

Icon-C#.png

C# (Custom Editor and Utility tools)

Asset creation

ICon-MAYA.jpg

MAYA (Modeling, UV)

Icon-Mentalray.png

Nvidia Mental ray (Vertex Color Baking)

Icon-Photoshop.png

Photoshop (Mesh Texture)

Icon-SSD.png

Substance Designer (Texture)

Icon-Acknowledgements.png

Acknowledgements

Visual use cases inspiration

The Legend of Zelda: Ocarina of Time

The Legend of Zelda: skyward sword

Top coverage feature inspiration

Immortal Fenyx Rising by Vincent Machine à Café Dérozier

UV World feature inspiration

Octopath Traveller : The Fusion of Nostalgia and Novelty in Octopath Traveler | Unreal Fest Europe 2019 |

 

3D and 2D Game Asset Creation
My game art team at Nanuq Studio Co., Ltd 

bottom of page