Nick Fisher
c12ec892f3
add bbCenter to outline material
2025-07-03 11:52:50 +08:00
Nick Fisher
946a6ae9d2
use premultiplied alpha for grid material
2025-07-01 16:59:19 +08:00
Nick Fisher
a9b5ca786e
update grid material
2025-07-01 12:12:33 +08:00
Nick Fisher
b7e79b1ac5
move outline material to embedded binary
2025-07-01 11:07:01 +08:00
Nick Fisher
d35a7a6de2
remove uv0 requirement from unlit.mat
2025-07-01 10:15:07 +08:00
Nick Fisher
96ef070be7
add linear_depth material
2025-07-01 10:08:36 +08:00
Nick Fisher
f252c86152
update image material to support cubemaps
2025-06-12 08:40:28 +08:00
Nick Fisher
2bf77f123f
remove unused sampledDepth parameter from capture_uv material
2025-05-22 15:03:52 +08:00
Nick Fisher
b128f385e5
unused unlit material
2025-04-16 17:23:56 +08:00
Nick Fisher
38d190f582
add standalone build script for materials
2025-04-02 22:21:22 +08:00
Nick Fisher
faba1b3087
add depth sampler material
2025-03-28 10:03:30 +08:00
Nick Fisher
cd1c2f3827
projection work + tests
2025-03-28 10:01:00 +08:00
Nick Fisher
e8169e86d1
VDTM material
2025-03-25 14:54:30 +08:00
Nick Fisher
396b7ed6dc
add depth write material
2025-03-25 11:33:37 +08:00
Nick Fisher
d6666d6388
cleanup capture_uv material
2025-03-25 11:33:24 +08:00
Nick Fisher
999b1e613f
refactoring + texture projection
2025-03-25 09:39:02 +08:00
Nick Fisher
d39b57f054
initial view-dependent texture projection material
2025-03-10 18:06:18 +08:00
Nick Fisher
7d87d229d0
add texture projection material
2025-03-08 13:25:15 +08:00
Nick Fisher
85215f6760
flip UV coords for capture material
2025-03-04 18:16:13 +08:00
Nick Fisher
5dca42c3c1
remove unused postprocess material
2025-03-04 14:38:05 +08:00
Nick Fisher
665c2fb39d
update projection test
2025-03-04 14:37:13 +08:00
Nick Fisher
3ac79b2080
initial projection material
2025-03-03 16:11:12 +08:00
Nick Fisher
cc1b55b6c9
internal: remove vertexScale from unlit material and multiply by alpha
2025-01-07 08:25:48 +08:00
Nick Fisher
242041c9f6
fix: increase grid material depth
2025-01-07 08:25:48 +08:00
Nick Fisher
aabea985bd
fix: transparency/depth fixes for grid.mat
2025-01-07 08:25:48 +08:00
Nick Fisher
1b979252db
feat: re-implement grid overlay
2025-01-07 08:25:48 +08:00
Nick Fisher
5c3af255e4
chore: remove unused transform parameter from unlit_fixed_size material
2025-01-07 08:25:48 +08:00
Nick Fisher
d3b4bed654
move grid clipspace.z closer to camera to allow for skybox
2025-01-07 08:25:48 +08:00
Nick Fisher
ed444b0615
feature!:
...
This is a breaking change needed to fully implement instancing and stencil highlighting.
Previously, users would work directly with entities (on the Dart side, ThermionEntity), e.g.
final entity = await viewer.loadGlb("some.glb");
However, Filament "entities" are a lower-level abstraction.
Loading a glTF file, for example, inserts multiple entities into the scene.
For example, each mesh, light, and camera within a glTF asset will be assigned an entity. A top-level (non-renderable) entity will also be created for the glTF asset, which can be used to transform the entire hierarchy.
"Asset" is a better representation for loading/inserting objects into the scene; think of this as a bundle of entities.
Unless you need to work directly with transforms, instancing, materials and renderables, you can work directly with ThermionAsset.
2024-11-27 15:02:37 +11:00
Nick Fisher
b7bc46b94a
feat: re-add uvScale, vertexScale to unlit material
2024-11-21 12:30:20 +08:00
Nick Fisher
e8b3468a3a
chore: remove uvScale from unlit.mat
2024-11-15 22:22:49 +08:00
Nick Fisher
4650ae1295
feat: Rename Gizmo material to UnlitFixedSize, and expose methods for using this material on other entities. Also exposes new methods for setting single float parameters.
2024-11-02 10:23:36 +08:00
Nick Fisher
37608a8fbe
fix: LFS materials
2024-10-24 12:58:13 +08:00
Nick Fisher
16dc0419e2
feat: add uvScale to unlit material
2024-09-27 15:08:30 +08:00
Nick Fisher
f6a136643d
remove image.mat from LFS
2024-09-20 14:04:43 +08:00
Nick Fisher
ef48dbce30
add base color/texture to unlit
2024-09-20 14:01:59 +08:00
Nick Fisher
7d2cf3f91b
don't store gizmo material in LFS
2024-09-16 11:25:21 +08:00
Nick Fisher
331caccc22
chore: delete old unlit_opaque material
2024-09-07 17:54:12 +08:00
Nick Fisher
433f03161c
feat: add scale parameter to unlit material
2024-09-07 17:53:41 +08:00
Nick Fisher
00755fd417
chore: remove old materials Makefile
2024-09-06 12:44:40 +08:00
Nick Fisher
9c5156e41a
feat: add flag for keepData for gltf instancing, add highlightScene, add stencilHighlight method
2024-09-06 12:36:16 +08:00
Nick Fisher
e04390b2fe
feat: add grid material
2024-09-05 22:21:19 +08:00
Nick Fisher
a3f7b98bf7
feat: create transparent overlay for gizmo for easier picking
2024-08-27 21:45:19 +08:00
Nick Fisher
0e3b014c2c
feat: rescale gizmo based on distance from camera
2024-08-27 16:50:54 +08:00
Nick Fisher
731c4981c9
use inactive/active color gizmo
2024-08-24 15:58:49 +08:00
Nick Fisher
8f20a8a859
chore: don't use shader to overlay gizmo
2024-08-24 15:21:36 +08:00
Nick Fisher
96df3a0f35
chore: remove binary filamat files from repo
2024-06-26 15:50:22 +10:00
Nick Fisher
8f9e309c34
initial work to split into dart_filament and flutter_filament
2024-04-30 12:07:26 +08:00
Nick Fisher
357c585d44
add (very rough) gizmo, restructure Dart package into library, add EntityListWidget
2024-03-25 22:21:37 +08:00
Nick Fisher
e40c0099b6
update compiled image material
2024-02-19 20:54:54 +08:00