本文介绍了Angrybots环境楼层的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您是否曾经关注过unity3D随附的愤怒的机器人演示的环境底色吗?这是纹理:(为什么此Atlas纹理看起来像这样,alpha较少?)

Have your ever payed attention to the environment floor's texture of the angry bots demo which comes with unity3D ? here is the texture : (why this atlas texture looks like this with less alpha ? )

此纹理名称为 EnvironmentFloorTiles_A ,我想知道他们是如何创建的,为什么要这么做?我用3DS max中的新标准材料打开了它,并将其应用到经过UV修改的平面上,这是一个奇迹,它以彩色纹理的形式映射到了平面上.也许与alpha通道有关.但我不知道为什么和什么?

This Texture name is EnvironmentFloorTiles_A and I Wonder how they have created this and why they had to this ? I had opened this in a new standard material in 3DS max and applied this to a plane with UV's modified , by a miracle it was mapped on the plane as a chromatic texture. Perhaps there is a relation to the alpha channel. but I don't why and what?

推荐答案

最后我找到了答案!如果我们擦除或使png透明,则不删除RGB通道,但是要删除嵌入在其上的alpha通道!因此,如果我们擦除并透明化png,则会在其alpha通道中将透明像素颜色设为黑色,我已经开始的很长的线程包含完整的答案:

Finally I had found the answer ! if we erase or make a png transparent , we don't remove the RGB channel , but we are removing the alpha channel of that which is embedded on it ! So if we erase and transparent a png , we make that transparent pixel color black in it's alpha channel , very long thread I had started contains the full answer :

链接到unity3d论坛中的答案线程

这篇关于Angrybots环境楼层的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-20 04:13
查看更多