![](https://img-blog.csdnimg.cn/20201014180756757.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
UnityShader
一休WL
用闲暇时间做爱做的事
展开
-
Unity3D Shader官方教程翻译(一)
原文地址:点击打开链接 Unity3D Shader官方教程翻译 Shader Reference 着色参考 Shaders in Unity can be written in one of three different ways: Unity3D着色器,可以写在三种不同的方式之一: assurface shader转载 2016-07-28 11:01:39 · 523 阅读 · 0 评论 -
Unity3D Shader官方教程翻译(三)----Shader语法:属性
原文地址:http://blog.sina.com.cn/s/blog_6ad33d3501015cb7.html ShaderLab syntax: Properties ShaderLab语法:属性 Shaders can define a list of parameters to be set by artists in Unity's material i转载 2016-07-28 11:04:49 · 280 阅读 · 0 评论 -
Unity3D Shader官方教程翻译(二)(ShaderLab)
原文地址:点击打开链接 ShaderLab syntax: Shader ShaderLab语法:Shader Shader is the root command of a shader file. Each file must define one (and only one) Shader. It specifies how any objects转载 2016-07-28 11:03:19 · 388 阅读 · 0 评论 -
3D图形学矩阵完全解析傻瓜版
原文地址:http://blog.sina.com.cn/s/blog_6ad33d3501015cjn.html 想来编程也有一段时间,什么都很明白就是对于坐标变换不是很理解,总是在关键的时候迷乱不已,胡乱的写一些变换代码,得到的结果当然让自己云里雾里。仔细的看了一下好几本书关于3D变换的篇章,总结了一下,希望对大家有帮助。末了声明以下,可能我说得也有错误的地方,敬请局内人明鉴转载 2016-07-28 11:08:17 · 9310 阅读 · 0 评论 -
Unity3D Shader官方教程翻译(四)----Shader语法:SubShader
原文地址:http://blog.sina.com.cn/s/blog_6ad33d3501015ckt.html ShaderLab syntax: SubShader ShaderLab语法:SubShader Each shader in Unity consists of a list of subshaders. When Unity h转载 2016-07-28 11:10:48 · 271 阅读 · 0 评论 -
Unity3D Shader官方教程翻译(五)----Shader语法:Pass
原文地址:http://blog.sina.com.cn/s/blog_6ad33d3501015cnp.html ShaderLab syntax: Pass ShaderLab 语法:Pass(通道编程) The Pass block causes the geometry of an object to be rendered once. 1个P转载 2016-07-28 11:12:06 · 368 阅读 · 0 评论 -
Unity3D Shader官方教程翻译(六)----Shader语法:Pass的Color, Material, Lighting
原文地址:http://blog.sina.com.cn/s/blog_6ad33d3501015czp.html ShaderLab syntax: Color, Material, Lighting ShaderLab 语法:颜色,材质,光照 The material and lighting parameters are used to control the built-转载 2016-07-28 11:13:44 · 283 阅读 · 0 评论 -
Alpha混合物体的深度排序
原文地址:http://blog.sina.com.cn/s/blog_6ad33d350101awcc.html 先说个题外话, 本来我想解答一下最近Creators Club论坛上经常出现的一个问题, 意外的是在网上竟然找不到什么全面的答案.. 这是个有着复杂答案的简单问题: “为什么我的透明物体的绘制顺序不对, 或者有些不见了?” 当绘制一个3D场景时转载 2016-07-28 11:34:45 · 443 阅读 · 0 评论 -
圆角shader
圆角的计算 在Shader中,我们使用UV坐标来计算需要显示的部分和不需要显示的部分,使用透明来处理显示与不显示。UV坐标如下图1,我们将坐标平移到图2位置,面片的UV坐标原点在面片中心,UV坐标范围是[0,1]。 我们现在用计算圆的半径的方式来计算,在如图所示的区域(绿色线区分)1,2,3,4内产生圆角: b 1. 在1区域内,加入区域的左下角是原点(0,0),长度是0...转载 2018-05-16 13:35:22 · 816 阅读 · 0 评论