โ† All examples

godot shaders

Pearlescent sheen with orient colours

Pearl-like surface: a soft white body whose sheen drifts through pink, green and gold tints with the viewing angle, a broad satin highlight, a faint inner glow and a cool rim, for pearls, shells and lacquered toys.

Recorded render of Pearlescent sheen with orient colours

What this component contains

  • ATTRIBUTION.md
  • LICENSE
  • README.md
  • component.json
  • demo.tscn
  • inspect_shader.py
  • material.tres
  • pearl_sheen.gdshader
  • preview.png
  • test_package.py
  • verification/native.json

How it works

Shader type
spatial
Parameters
body_color (vec4 = 0.93, 0.9, 0.86, 1), tint_a (vec4 = 1, 0.78, 0.86, 1), tint_b (vec4 = 0.78, 1, 0.88, 1), tint_c (vec4 = 1, 0.92, 0.7, 1), orient_strength (float = 0.55), orient_bands (float = 1.6), satin_roughness (float = 0.32), inner_glow (float = 0.12) and 2 more
Result
Creamy white spheres with soft pastel colour rings and a satin highlight.
Renderers
compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
Placement
res://baltor/godot_shaders/pearl_sheen/

Recorded checks

godot 4.7.2.stable.official.ed1daf0bf

  • contract_static
  • engine_run
  • engine_log_clean
  • shader_in_scene
  • capture_written
  • render_not_uniform
  • shader_changes_pixels

Limits to consider

An artistic angle-based tint, not interference optics (see `thin_film_iridescence` for that). The colour rings are centred on the view, so they move with the camera. Emission keeps a glow even in darkness.