[Shader] BlinnPhong - Specular
Shader "Custom/Belt" { Properties { _MainTexture("MainTexture", 2D) = "white" {} _BumpMap("BumpMap", 2D) = "bump" {} _SpecColor ("Specular Color", Color) = (1,1,1,1) _Gloss ("Gloss", Range(0, 1)) = 1 _Specular ("Specular", Range(0, 1)) = 1 } SubShader { Tags { "RenderType"="Opaque" } CGPROGRAM #pragma surface surf BlinnPhong #pragma target 3.0 sampler2D _MainTexture; sampler2D _BumpMap; //_SpecC..
Shader Warning
Shader "Custom/MyShader" { Properties { _Color ("Color", Color) = (1,1,1,1) _Brightness ("Change Brightness!!", Range(0, 1)) = 0.5 _TestFloat ("Test Float", Float) = 0.5 _TestColor ("Test Color", Color) = (1,1,1,1) _TestVector ("Test Vector", Vector) = (1,1,1,1) _TestTexture ("Test Texture", 2D) = "white" {} } SubShader { //불투명 Tags { "RenderType"="Opaque" } CGPROGRAM #pragma surface surf Standa..