Stylized Curve Shader

28+ stylized material instances and customizable curvature shader

Category:
Tags: , , , , , , , , , , , , , ,

Description

This shader blends two colors around geometry curves and normal map curves. For example, the wood material’s diffuse is entirely generated from a base color, edge color, and a normal map. This means the wood color can be completely customized. It also means you don’t need to bake curvature from other tools. Using this master material, you can get a great stylized shader with only a normal map.

Video Showing Shader Customization

Quick Getting Started:

Limitations:

This is a screenspace technique – the effect changes based on the screen resolution and the camera position. Sometimes the effect can be inconsistent from different angles.

There can be a lot of noise if the effect is too strong.

It doesn’t highlight edges well on low-poly cubic models. When using geometry only (flat normal map) the shader works better with higher poly models (10k+ tris). It works best when there’s a contiguous high poly change in the direction of the faces.

It doesn’t seem to work great for consistent edge wear.

Technical Details

Includes:

Number of Unique Materials and Material Instances: 28

Number of Textures: 16

Texture Resolutions: 2048 x 2048 (2K)

Supported Development Platforms:

Windows: Yes

Mac: Yes

Documentation: Here’s an example of the shader properties. Feel free to leave a question if there’s anything I can help with.

Supported Engine Versions

4.25 – 4.26