22 lines
537 B
Plaintext
22 lines
537 B
Plaintext
material {
|
|
name : MetaCoreEditorGrid,
|
|
shadingModel : unlit,
|
|
blending : transparent,
|
|
transparency : default,
|
|
depthWrite : false,
|
|
depthCulling : true,
|
|
doubleSided : true,
|
|
requires : [ color ],
|
|
parameters : [
|
|
{ type : float4, name : baseColorFactor }
|
|
],
|
|
}
|
|
|
|
fragment {
|
|
void material(inout MaterialInputs material) {
|
|
prepareMaterial(material);
|
|
material.baseColor = materialParams.baseColorFactor * getColor();
|
|
material.baseColor.rgb *= material.baseColor.a;
|
|
}
|
|
}
|