12 2017 档案

摘要:双击红色框区域 阅读全文
posted @ 2017-12-20 15:19 酷熊 阅读(4863) 评论(0) 推荐(0) 编辑
摘要:Properties { _R("Radius", Range(0,100)) = 1.0 _ColorTex("ColorTex (RGB)", 2D) = "red" {} struct Input { float2 uv_MainTex; float3 worldPos; //flo... 阅读全文
posted @ 2017-12-19 14:44 酷熊 阅读(1176) 评论(0) 推荐(0) 编辑
摘要:CGPROGRAM // Physically based Standard lighting model, and enable shadows on all light types #pragma surface surf Standard fullforwardshadows vertex:vert struct Input { ... 阅读全文
posted @ 2017-12-19 12:31 酷熊 阅读(2798) 评论(0) 推荐(0) 编辑
摘要:Texture2D colorTxt = new Texture2D(size, size); Color[] colors = new Color[10]{ Color.black, Color.white, Color.yellow , Color.gray , Color.green , Co 阅读全文
posted @ 2017-12-18 11:17 酷熊 阅读(3941) 评论(0) 推荐(0) 编辑
摘要:关闭VS 关闭VS 开启控制台并导航到Visual安装文件夹,例如C:\Program Files (x86)\Microsoft Visual Studio\2017\Community\Common7\IDE 开启控制台并导航到Visual安装文件夹,例如C:\Program Files (x8 阅读全文
posted @ 2017-12-15 11:57 酷熊 阅读(3049) 评论(0) 推荐(0) 编辑
摘要:这种情况下,需要调整.cpp文件中的头文件引用顺序,例如 A.cpp中 #include X.h #include Y.h #include A.h 尝试调整一下X.h和Y.h和A.h的顺序 阅读全文
posted @ 2017-12-11 10:45 酷熊 阅读(3076) 评论(0) 推荐(0) 编辑
摘要:Shader "Custom/Blocks" { Properties { _Color ("Color", Color) = (1,1,1,1) _MainTex ("Albedo (RGB)", 2D) = "white" {} _Glossiness ("Smoothness", Range(0,1)) = 0.5 _... 阅读全文
posted @ 2017-12-01 11:04 酷熊 阅读(1099) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示