摘要:
效果图贴图法线贴图//代码Shader "Custom/NormalMap" { Properties { _MainTex ("Texture", 2D) = "white" {} _NormalMap ("NormalMap", 2D) = "bump" {} _Color ("Main ... 阅读全文
摘要:
给模型偏移纹理using UnityEngine;using System.Collections;[RequireComponent(typeof(Renderer))]public class ModelTextureAnimation : MonoBehaviour { //材质索引 publ... 阅读全文
摘要:
Shader "Custom/Flash" { Properties { _MainTex ("Base (RGB)", 2D) = "white" {} _Color("Diffuse Material Color", Color) = (1,1,1,1) ... 阅读全文