找找shader里面的最大亮度和最低亮度 和其他的材质统一一下 来自Android客户端3楼2023-02-27 00:44 收起回复 雾莺 Visitor 1 试出来了,此贴完结。。感谢楼上两位详细设置里面的照明设置顶点灯的强度改成0,灯光方向超控改成X0.001 Y0.002 Z0.001 4楼2023-02-27 12:15 回复 ...
Poiyomi Shadersare feature-rich shaders for Unity's Built-In Rendering Pipeline, intended for use withVRChat.They support multiple shading modes and robust light handling, and are designed to be easy-to-use and performant. They're alsofreeandopen-source!
I was interested in making it function in vrchat. Some on and off weeks studying unity's hlsl i learned unity's lighting and how to correctly manipulate them for shaders. This Study result is UTS2
可以看到, lts_trans_o的除了声明属性, 就是在use其他shader的pass,材质编辑器选择的不同shader实现的效果不同的原因就在于其所选择的不同的shader中use了不同的pass,比如在没有启用Outline功能的lts_trans中, 它的SubShader部分是这样的: SubShader{Tags{"RenderType"="TransparentCutout""Queue"="AlphaTest+10"}...
最近阅读了冯乐乐的《Unity Shader入门精要》, 再加上之前对于着色器的一些了解,笔者想阅读一个比较复杂的着色器来应用这些学到的知识并从其他人的代码中学习知识。由于笔者最近在玩VRChat,所以便选择了liltoon这个着色器的源码来阅读。 二、着色器的结构