Skip to content

yuna0x0/sbox-MToon

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

55 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

sbox-MToon

Asset.Party link: https://asset.party/edison/mtoon_shader

Toon Shader with Global Illumination. Ported to s&box (Source 2).

sbox_mtoon_demo

Source Shader

https://github.com/Santarh/MToon

Usage

https://vrm.dev/en/univrm/shaders/shader_mtoon.html

Highlighted sections are functional and tested.

Other sections might or might not work. Experiment yourself. UwU

Most of the default material section inputs are not used by this shader except normal map (check "Use Normal Map" if you are using a normal map).

sbox_mtoon_usage


ALL texture inputs must have at least a color or valid texture file input.

The shader will not output the correct result if any texture has no input at all.

If some texture inputs are unused, just fill them with the default color by clicking the "Change To Color" button.

Different texture inputs might have different default colors.

sbox_mtoon_texture_notice

Limitation

  • Multi-pass rendering is not yet supported (Facepunch/sbox-issues#1067). Therefore, the outline pass has not been implemented yet.
  • Engine built-in shadowing and depth prepass (Shadow Caster) is different from Unity. The shadow under direct light looks weird or dirty. Might need to port the shadow caster.

Screenshot

sbox_mtoon_demo_1

sbox_mtoon_demo_2

sbox_mtoon_demo_3

Credits

3D model used in the screenshot

Eve by Hamuketsu (@ganbaru_sisters): https://sisters.booth.pm/items/2557029

Releases

No releases published

Packages

No packages published

Languages