MK Toon - Stylized Shader
MK Toon is a stylized shader, which is able to achieve a very stylish & unique non-photorealistic shading. It can cover a wide variety of art styles and offers a deep level of customization.
MK Toon - Stylized Shader is an artist-friendly and feature-rich stylized shader, which is able to achieve very customized & unique non-photorealistic visuals. It can cover a wide variety of comprehensive art styles. The package includes standard and particles shader variations.
To provide an easy to use adaptive workflow the custom material editor is tweaked towards artists. Every feature can be combined with each other to create a new unique style.
⤴️NEW! : Optimized outline rendering on URP (drawcalls & depth priming)
🔥Highlights🔥
Physically based input => stylized output: MK Toon follows your physically based input to create a local antialiased & stylized output.
Comprehensive shading model: The flexible and versatile custom shading model allows you to quickly iterate through a huge variety of art styles.
Creative Freedom: Every shader feature can be combined with each other to achieve the very special and stylized visuals you want.
📦THE PACKAGE📦
⚡Included Shaders⚡
Unlit: Straightforward Unlit Shader with basic features.
Simple: Lit Shader with tons of customization options.
Physically Based: Lit Shader built upon physically based rendering to produce a highly unique stylized visuals.
Outline: Every shader can have a stylized outline.
Refraction: Refractive standard and particles shader versions available.
Standard & Particles: Standard and particles variations included.
Possible art styles: Cel shading, ramp lighting, anime, manga, cartoon, stylized realistic, artistic, watercolor or mix your own.
Create your own and unique style: Every available feature can be combined using the material editor to create a very customized shading.
Bonus: Rotatable gradient skybox shader
🔖Features🔖
✅Physically based properties: Artists are able to maintain their physically based metallic, specular or roughness workflow. Physically based input => Stylized output.
✅Lighting Styles: Builtin, Cel, Banded and Ramp modes are available to completely customize the lighting.
✅Artistic: To style lighting even further there are three artistic modes available: Drawn, Sketch and Hatching. Every of them can be projected onto the object in tangent space or a screen space.
✅Normal Mapping: Seamlessly integrated normal mapping into the stylized lighting.
✅Parallax Mapping: Approximated parallax mapping can be used to enhance the normal mapping.
✅Specular: Isotropic and anisotropic specular are possible.
✅Diffuse: Lambert (default), Oren Nayar(takes the roughness of the surface and the view angle into account.) and Minnaert ( Lighting adds some darkening limbs based on the view angle. Good for things like fabric) diffuse shading is available.
✅Occlusion: Two way occlusion to control the direct and indirect light occlusion.
✅Emission: Every material can be emissive.
✅Detail: Details maps are able to add a detail layer on top of the albedo input using a mixed, additive or multiplied behavior. Even detail normals are possible.
✅Threshold Offset: It is used to distort the light intensity to create special gradients between bright and dark areas of the surface.
✅Gooch: Fully control the bright and dark areas of your object by interpolating between specific colors based on the lighting condition.
✅Rim: Rim Lighting is based on the fresnel effect. Outer areas of the Material will be highlighted.
✅Iridescence: Adds a Iridescence effect on top of the surface. Based on the viewing angle, areas will change color gradually.
✅Color Grading: Controls how the contrast, saturation and brightness is applied.
✅Dissolve: Dissolves the surface based on a given pattern.
✅Vertex Animation: The Vertex Animation offers three generic animations, which are computed on the shaders side (no additional setup required).
✅Light Transmission: Light will pass through the object and defines how (Subsurface or Translucent) it passes through.
✅Particles: Customize particles like the default geometry.
✅Stencil: Fully controllable stencil buffer.
✅Refraction: Creates a refracted look for geometry behind the surface.
✅Outlines: Based on the 3 outline modes tweaked towards pixel perfection. Even and uneven outlines are possible. In additon distance based fading and noise can be added.
✅Stutter: Vertex Animations and Artistic features can stutter to simulate a redrawn effect.
✅Indirect Lighting: Indirect lighting gets mixed into the stylization to follow a realistic behaviour.
✅Custom Editor: Easy to use inspector tweaked towards artists to combine each feature and create an unique style.
✅XR: VR and AR compatible, including Multi Pass, Single Pass and Single Pass Instanced rendering.
✅Vertex Colors: Vertex colors are automatically used if no albedo map is set.
✅DOTS Instancing and SRP batcher support.
⚙️Included Tools⚙️
Install Wizard: Fast setup even on scriptable Render Pipelines.
Builtin Textures: Start easy by using the included textures for different features.
Mesh Utility: Create new meshes with smoothed normals to achieve better outlines.
Ramp Creator: Allows you to create 1D ramp textures based on a set gradient.
Texture Channel Packer: lets you create a new texture based on four inputs. This way you can combine different color channels of different textures into a new one.
Material Properties API: Material properties can be changed via the MK.Toon.Properties namespace.
Custom Editor: Easy to use inspector tweaked towards artists.
Render Pipeline Compatibility: Same look & feel & results across supported render pipelines.
🪜Examples🪜
Spectate: Over 100 stylized materials.
Artistic: Multiple setuped materials for the artistic feature.
Outlines: Outlined objects using different shapes.
Witchlab: Stylized shaded witch like area.
Flying Isles: 10 variations Artistic: Artistic stylized objects.
Playroom: Contrast rich comparison of shader features.
Lighting Styles: Quickly inspect different possibilities to control lighting and shadows.
Outlines - 2: Difficult shapes to outline without modifying the mesh.
Sheep: 6 variations of different lighting setups.
SFX: 12 setups for specific shader features.
💾Updates + Maintenance + Support💾
All of my assets receive updates, are maintained regularly and supported as best as possible.
🌈Do you have some cool stuff to show?🌈
I would love to see your results (high resolution screenshots / videos) using the shader. Just drop me a message.
- From scratch & hand-written shader
- Focused on a perfect trade-off in terms of quality and performance
- Compatibility, usability, flexibility stability are high priorities
- This shader is limited to forward rendering only due to the limitations of deferred rendering.
- More specific limitations lined out on the trello board