Похожие чаты

How do you layer 2d lights in general? Should be

about the same in all kinds of 2d rendering engines. webgl, canvas 2d, opengl, etc.
I just can't seem to find a good mechanism to draw multiple lights.
I can't draw it as an additive lighter layer on top of darkness - it will wash out the colors.
I can't create multiple circles that are transparent inside and dark outside - layering two lights will become darker..

How do you solve that?

1 ответов

15 просмотров

Blend, or add with normalize to a clamped threshold or do a logarithmic mapping.

Похожие вопросы

Обсуждают сегодня

а зачем этот вопрос для удаления из чата?
Mёdkinson Medvezhkin
63
Добрый день. Хочу сделать отрисовку по команде на панели. Почему-то рисуется только при втором вызове. С чем может быть связано, не подскажете? procedure TForm1.FormDblClick(...
Kirill Filippenok
20
Есть рассчет для Таллинна? https://x.com/dr_enderlin/status/1784581592003850496
Vladimir Ivanov
23
Any dog on Fantom ?
Bitcoin Magic
19
Интересно, а в чём прикол мак оси?
Лисицка
16
Всем доброго дня! Подскажите может кто использовал связку Pagebuilder + Clientsetting. Сами параметры с типом pagebuilder в модуле Clientsetting работают нормально, можно такж...
Александр Добриков
12
using next image component with s3 image: "url" parameter is valid but upstream response is invalid code: <Image fill src={s...
Fasil
3
Добрый день Как поставить vscode из флэтпака как дефолтный редактор в filezilla?
Daniel
16
Tax his land, Tax his bed, Tax the table At which he's fed. Tax his work, Tax his pay, He works for peanuts Anyway! Tax his cow, Tax his goat, Tax his pants, Tax his coat....
Forge
5
А почему в си некоторые вещи работают с двойными кавычками некоторые с одинарными? Нельзя было все сделать с одними или чтоб работало с разными? например чтоб выводить строки ...
.
15
Карта сайта