Introduce outline render passes and shader.

Use the jump flood algorithm to render an outline around selected
objects. This requires using custom post-processing shaders and
render passes which is managed by a new "Outliner" class.

PiperOrigin-RevId: 929212147
Change-Id: Ie6f475c7c677df7b0d4fc030a8e9520ff9dd03af
This commit is contained in:
Haroon Qureshi
2026-06-09 08:31:11 -07:00
committed by Copybara-Service
parent e6e5229126
commit b083ae487e
16 changed files with 726 additions and 30 deletions
+3
View File
@@ -159,6 +159,9 @@ var Module = {
"assets/phong_cube_fade.filamat",
"assets/phong_cube.filamat",
"assets/phong_cube_reflect.filamat",
"assets/outline_composite.filamat",
"assets/outline_flatten.filamat",
"assets/outline_jumpflood.filamat",
"assets/unlit_decor.filamat",
"assets/unlit_depth.filamat",
"assets/unlit_segmentation.filamat",