Skip to content
modkitv0.2

Example 53 - Sheen (mk_pbr_desc.sheen_*).

← All examples53_sheen

KHR_materials_sheen uses a Charlie distribution and Estevez-Kulla visibility for fabric highlights. It is energy-balanced against the metallic-roughness base and works on hand-built spheres exactly as on a loaded glTF primitive. Requires both packages: ./scripts/build-linux.sh --pbr --ibl --target=53_sheen Grid on a dark-blue velvet base under IBL: rows (top->bottom) sweep sheen roughness 0.1->1.0; columns (left->right) sweep base roughness 0->1. The warm-white sheen rim reads most on the smoother bases and tightens/broadens with sheen roughness. Controls: S = toggle sheen, drag = orbit, scroll = zoom, TAB = debug, ESC = quit.

Example 53 - Sheen (mk_pbr_desc.sheen_*).

Runs the WebAssembly build on this page. Click the canvas to give it keyboard focus.

Number
53
Tags
3dgeometrypbrlightingiblinput
Source
examples/53_sheen/main.c

Build and run

./scripts/build-linux.sh release --target=53_sheen --run