Files
filament/web/examples/materials/nonlit.mat
Powei Feng 9b2959d3a4 web: fix redball and fl0 examples (#9942)
- Remove conditional forgotten by #9897
   Fixes cube_fl0 example
 - Add byte array view methods that are no longer exported by
   default in emscripten 5.0.4 (#9921)
   Fixes redball tutorial
2026-04-30 17:58:16 +00:00

17 lines
283 B
Plaintext

material {
name : nonlit,
requires : [
color
],
shadingModel : unlit,
culling : none,
featureLevel: 0
}
fragment {
void material(inout MaterialInputs material) {
prepareMaterial(material);
material.baseColor = getColor();
}
}