fullseye

radial_light — GFX2D light op

使い方

A radial light map, rgb (H, W, 3), centred on (x, y).

falloff:

The value at the centre is exactly intensity * color. This is a linear-light quantity: add lights together, then encode once.

With intensity > 1 the result leaves [0, 1] — deliberately, because a light map is not a picture. :func:light_mask accepts it; the operators that take an rgb image reject it with the documented range error rather than clipping a light budget behind your back.

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

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

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

srgb_to_linear · linear_to_srgb · blend_mode · light_mask · normal_map_decode · bloom · vignette · chromatic_aberration

同カテゴリ(light)

light_mask · normal_map_decode · normal_map_shade · shadow_cast_2d


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

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