Remove unused material.

This commit is contained in:
Philip Rideout
2019-09-06 09:39:11 -07:00
parent 3925b0a8ec
commit 4989c3dc48
2 changed files with 0 additions and 35 deletions

View File

@@ -13,7 +13,6 @@ endif()
# ==================================================================================================
set(MATERIAL_NAMES
helmet
parquet
sandbox
textured

View File

@@ -1,34 +0,0 @@
material {
name : helmet,
requires : [
uv0
],
shadingModel : lit,
parameters : [
{
type : sampler2d,
name : baseColor
},
{
type : sampler2d,
name : occlusionRoughnessMetallic
},
{
type : sampler2d,
name : normalMap
}
],
}
fragment {
void material(inout MaterialInputs material) {
vec2 uv = getUV0();
material.normal = texture(materialParams_normalMap, uv).xyz * 2.0 - 1.0;
prepareMaterial(material);
material.baseColor = texture(materialParams_baseColor, uv);
vec4 orm = texture(materialParams_occlusionRoughnessMetallic, uv);
material.ambientOcclusion = orm.r;
material.roughness = orm.g;
material.metallic = orm.b;
}
}