This removes the old CPP-based web samples in favor of the new JS API. The `web/samples` folder will be added in a subsequent commit.
16 lines
264 B
Plaintext
16 lines
264 B
Plaintext
material {
|
|
name : triangle,
|
|
requires : [
|
|
color
|
|
],
|
|
shadingModel : unlit,
|
|
culling : none
|
|
}
|
|
|
|
fragment {
|
|
void material(inout MaterialInputs material) {
|
|
prepareMaterial(material);
|
|
material.baseColor = getColor();
|
|
}
|
|
}
|