WebGPU Post Processing
webgpufundamentals.org·5h
🚀CUDA Kernels
Preview
Report Post

This is article is the 2nd in a short series about image adjustments. Each one builds on the previous lesson so you may find them easiest to understand by reading them in order.

  1. Image Adjustments
  2. 1D Lookup Tables ⬅ you are here
  3. 3D Lookup Tables

Continuing where we left off, let’s implement a “duotone” image adjustment. This is where we use the brightness of an image to select between 2 colors.

In the image above, dark in the image selects the first color, and brightness the 2nd. The darker, the closer to the first color, the brighter, the closer to the 2nd.

We c…

Similar Posts

Loading similar posts...

Keyboard Shortcuts

Navigation
Next / previous item
j/k
Open post
oorEnter
Preview post
v
Post Actions
Love post
a
Like post
l
Dislike post
d
Undo reaction
u
Recommendations
Add interest / feed
Enter
Not interested
x
Go to
Home
gh
Interests
gi
Feeds
gf
Likes
gl
History
gy
Changelog
gc
Settings
gs
Browse
gb
Search
/
General
Show this help
?
Submit feedback
!
Close modal / unfocus
Esc

Press ? anytime to show this help