Added ChannelMixer
This commit is contained in:
@@ -20,7 +20,7 @@ namespace Misaki.ArtToolEditor
|
||||
var outputPath = Path.Combine(outputDirectory, mat.name + ".prefab");
|
||||
var decal = AssetCreationHelpers.CreateDecal(outputPath);
|
||||
|
||||
mat.shader = Shader.Find(Constants.Shader.DECAL_SHADER_PATH);
|
||||
mat.shader = Shader.Find(Constants.ShaderPath.DECAL_SHADER_PATH);
|
||||
decal.transform.rotation = Quaternion.Euler(90, 0, 0);
|
||||
decal.GetComponent<DecalProjector>().material = mat;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user