Files
filament/web/samples/materials/nonlit.mat
2018-11-01 17:05:30 -07:00

16 lines
262 B
Plaintext

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