Flat Cloth Shader (Built-in & URP) View on Asset Store (opens in new tab)

Package details

Latest version
1.0
Last updated
First released
Unity version
2022.3.3 or later
Package size
232 KB
Files
20
Favorites
3
Views in the past week
8

Price tracking

Last checked
Tracked since
Lowest recorded
$12.50 on

Keywords

Flat Cloth Shader (Built-in & URP)

by Pozytrum (opens in new tab)

No ratings yet

Flat shading for Cloth! Built-in & URP shaders, with/without displacement. Prevents smoothing.

Price $25.00

Buy on Asset Store (opens in new tab)

Affiliate link · Purchases support this site

Price history

Last 6 months

USD
Price history for Flat Cloth Shader (Built-in & URP), 6 months Current $25.00; lowest $12.50; highest $25.00 in this period. $0 $12.5 $25 Sep Oct Nov

Asset preview

1 / 4

Flat Cloth Shader (Built-in & URP) screenshot 1

Flat Cloth Shader (Built-in & URP) screenshot 1

About this asset

Pozytrum presents: Cloth-Ready Flat Shaders! Achieve perfect flat shading on your Cloth components in both Built-in and URP pipelines. These shaders prevent the common issue of Cloth smoothing out flat-shaded meshes. Includes versions with and without vertex displacement for performance flexibility.

Finally, achieve crisp, stylized flat shading on your dynamic Cloth objects without unwanted smoothing! "Cloth-Ready Flat Shaders" by Pozytrum provides a complete solution for developers using Unity's Built-in Render Pipeline or the Universal Render Pipeline (URP).Standard shaders often cause Cloth components to smooth out the distinct edges of flat-shaded meshes, ruining the desired low-poly aesthetic. This pack directly addresses that problem, ensuring your capes, flags, banners, and other cloth simulations maintain their sharp, faceted look.Key Features & Benefits:
Preserves Flat Shading on Cloth:
The core feature! Say goodbye to smoothed edges on your flat-shaded cloth simulations.
Dual Pipeline Support: Includes dedicated shaders for both:
Built-in Render Pipeline: Robust, classic shaders.
Universal Render Pipeline (URP): Modern, flexible Shader Graph implementations.
Performance Options: For each pipeline, you get two versions:
Standard Flat Shader: Lightweight, for pure flat shading without mesh deformation.
Flat Shader with Displacement: Adds a simple vertex displacement effect along normals, allowing for subtle animated effects or mesh tweaks (use judiciously for performance).
Cloth Compatibility: Shaders are set up with Cull Off (Built-in) or Render Face: Both (URP) for correct two-sided rendering required by Cloth.
Alpha Clipping: Supports cutout transparency via an alpha channel in your main texture and a cutoff property.
Customizable: Includes properties for Main Texture, Tint Color, Alpha Cutoff, and Displacement Amount (where applicable).
Shadows:Built-in displaced version includes a custom Shadow Caster pass that respects vertex displacement.
URP versions work correctly with URP's shadow system.
Easy to Use: Simply create a material, select the appropriate shader from "Pozytrum/Built-in" or "Pozytrum/URP", and apply it to your GameObjects with Cloth components.Included in this Package:
Built-in Shaders (HLSL/CG):
ClothFlatShading.shader (No displacement)
ClothFlatShadingDisplacement.shader (With vertex displacement)
URP Shaders (Shader Graph):URP_ClothFlat.shadergraph (No displacement)
URP_ClothFlatDisplace.shadergraph (With vertex displacement)
Example Materials for each shader.
Demo Scene(s) showcasing the shaders in action with Cloth components for both Built-in and URP.
Detailed Readme documentation.Whether you're creating stylized characters with flowing flat-shaded capes or environments with dynamic flat-shaded banners, this pack provides the essential shaders to maintain your artistic vision.From Pozytrum - Crafting solutions for efficient Unity development.

From the publisher's Asset Store listing.

Technical details

Features:
Flat Shading for Cloth:
Prevents smoothing of flat-shaded meshes by the Cloth component.
Dual Pipeline Support:Dedicated shaders for Built-in Render Pipeline.
Dedicated Shader Graphs for Universal Render Pipeline (URP).
Lighting (Built-in): Supports main directional light, Spherical Harmonics ambient, and real-time shadows.
Lighting (URP): Integrates with URP Lit pipeline (or Unlit if you adapt the graph).
Includes example materials.
Includes demo scene(s) for Built-in and URP.

  • Supported Render Pipelines: Built-in, Universal Render Pipeline (URP).

Compatibility

Render pipelines supported in each Unity version
Unity version Built-in URP HDRP
2022.3.3f1 Compatible Compatible Not listed

As listed on the Asset Store.