2021-02-22 23:28:58 +00:00
|
|
|
|
|
|
|
void SetupMaterial(inout Material material)
|
|
|
|
{
|
|
|
|
material.Base = ProcessTexel();
|
2021-03-10 17:00:28 +00:00
|
|
|
material.Normal = ApplyNormalMap(vTexCoord.st);
|
2021-02-22 23:28:58 +00:00
|
|
|
material.Bright = texture2D(brighttexture, vTexCoord.st);
|
|
|
|
}
|