fullseye

subsurface_approx — OPTICS material op

使い方

半透明の回り込み(葉・肌・大理石・プラ乳白)の近似。

thickness: 透け具合(0–1、大きいほど裏から回り込む)。wrap: 影側への回り込みの広さ。

返り値: (H, W)。光源が裏にあるほど明るい成分(back-scatter)と、影側へ 回り込む成分(wrap lighting)の和。Lambert では 0 になる領域に光が残るのが要点。

ファミリ共通の入力契約(fail-closed)

optics の全 op は入力を検証してから計算する(黙って通さない):

詳しい使い方ガイド

参考(サンプルデータ・文献)

実行できる例(この op を実際に呼ぶ検証済みサンプル)

型が繋がる次の op(image2d を入力に取れる)

fraunhofer_pattern · pupil_psf · pupil_blur · psf_to_mtf · illumination_uniformity · render_through_lens · surface_defect · defocus_blur

同カテゴリ(material)

material_catalog · oren_nayar · clearcoat_shade · sheen_shade · wetness


Provenance: surfacelib.py — OPTICS operator registry. この per-op ノートは tools/opdocs.py md が自動生成(手編集しない)。

© 2026 Kazufumi Furuse — Fullseye operator documentation. Licensed under Apache-2.0.