
What this component contains
ATTRIBUTION.mdLICENSEREADME.mdcomponent.jsondemo.tscninspect_shader.pymaterial.trespreview.pngtest_package.pythin_film_iridescence.gdshaderverification/native.json
How it works
- Shader type
- spatial
- Render modes
- cull_back, depth_draw_always
- Parameters
- film_index (float = 1.33), thickness_min_nm (float = 250), thickness_max_nm (float = 750), swirl_scale (float = 2), swirl_speed (float = 0.15), opacity (float = 0.35), roughness (float = 0.05), base_color (vec4 = 0.02, 0.02, 0.03, 1)
- Result
- A clear bubble whose reflections shimmer in bands of magenta, green and gold that drift.
- Renderers
- compatibility: compiled and rendered, forward plus: not verified, mobile: not verified
- Placement
- res://baltor/godot_shaders/thin_film_iridescence/
Recorded checks
godot 4.7.2.stable.official.ed1daf0bf
contract_staticengine_runengine_log_cleanshader_in_scenecapture_writtenrender_not_uniformshader_changes_pixels
Limits to consider
Two-beam approximation at three wavelengths, not a spectral integration: colours are plausible, not exact. Multiple reflections inside the film are ignored. Transparency uses Godot's alpha blending and is not sorted per pixel.