Shader Texture中指定具体颜色进行高亮显示

实现: 高亮一张texture上相同颜色的色块。原理:使用step进行rgb的对比即可。Shader "Unlit/ChooseContinent" { //2018年4月8日 //for ui地图高亮所有相同的颜色块 Properties { _MainTex("Texture", 2D) = "
posted @ 2018-04-09 14:53  sun_dust_shadow  阅读(539)  评论(0编辑  收藏  举报