[go: up one dir, main page]

Skip to content

achose369/ShaderGraphsMToonForURPVR

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Shader Graphs MToon for URP VR

New URP Toon Shader -> https://github.com/simplestargame/SimpleURPToonLitOutlineExample

This repository is old.
This shader does not support the latest UniVRM.

main

Requirements

  • Unity 2019.4.20f1
    • Universal RP 7.5.3

Getting Started

Open SimplestarGame/ShaderGraphsMToon/Scenes/SampleScene

Play VR Single Pass Stereo Rendering Mode.

A cube GameObject has the MToon Shader.

graph

Check Example VRM Scene

  1. Find VRMMaterialImporter if you use UniVRM package
    Edit lines as follows.
// 1 select shader
var shaderName = item.shader;var shaderName = "Shader Graphs/MToon";//item.shader;

// 2 use geometry queue
material.renderQueue = item.renderQueue;
↓
material.renderQueue = (int)UnityEngine.Rendering.RenderQueue.GeometryLast < item.renderQueue ? (int)UnityEngine.Rendering.RenderQueue.GeometryLast : item.renderQueue;

Load Result in SimpleViewer scene of UniVRM Sample package.

You should learn about MToon (Japanese).

About

ShaderGraphsMToonForURPVR

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • HLSL 100.0%