[]PBRStandardMaterial 遮挡贴图效果不明显
项目需要用到遮挡贴图提高效果..但是遮挡贴图效果基本看不到.如何解决
var ID_12kg_huang1_mat: Laya.PBRStandardMaterial = new Laya.PBRStandardMaterial();
ID_12kg_huang1_mat.albedoColor = new Laya.Vector4(245/ 255, 170 / 255, 19 / 255, 1);
ID_12kg_huang1_mat.metallic = 0.8
ID_12kg_huang1_mat.smoothness = 0.22;
ID_12kg_huang1_mat.occlusionTexture =
Laya.Texture2D.load("res/aidu/four12/Assets/pic/four12KG.jpg");
ID_12kg_huang1_mat.occlusionTextureStrength = 1;
ID_12kg_huang1.meshRender.sharedMaterial = ID_12kg_huang1_mat;
var ID_12kg_huang1_mat: Laya.PBRStandardMaterial = new Laya.PBRStandardMaterial();
ID_12kg_huang1_mat.albedoColor = new Laya.Vector4(245/ 255, 170 / 255, 19 / 255, 1);
ID_12kg_huang1_mat.metallic = 0.8
ID_12kg_huang1_mat.smoothness = 0.22;
ID_12kg_huang1_mat.occlusionTexture =
Laya.Texture2D.load("res/aidu/four12/Assets/pic/four12KG.jpg");
ID_12kg_huang1_mat.occlusionTextureStrength = 1;
ID_12kg_huang1.meshRender.sharedMaterial = ID_12kg_huang1_mat;
没有找到相关结果
已邀请:
要回复问题请先登录
1 个回复
w1114367261
赞同来自: