UnityのPBRを用いた低負荷で高品質なスキンシェーダーです。CG調のキャラクター、プラスチック的な硬質表現に役立ちます。 (申し訳ありませんが、この説明は現在英語のみです) To install, place the Shader/ folder with the shader into your Assets/ directory. Usage This shader features most (but not all) of the features available in the Unity Standard shader. You can drop in most kinds of texture map (if you set them in Standard, they'll be transferred over for you automatically.) The main difference is in the addition of the thickness map. You can create this map in a few ways. - Invert the normals of your model in Blender and bake ambient occlusion. This will create a "thickness" map. - If you use Substance Painter, you can set it up to generate a thickness map. Please see the Substance Painter documentation for more info. - If you're lazy, like me, you can use the "Invert Thickness Map" option to use a preexisting texture. For example, you can get a nice effect on character models by using a metalness map as your thickness, with "Invert Thickness Map". This will make light pass through everything but metal. Note that for best appearance, you'll want to adjust the Power variable. If your thickness map doesn't define a colour for the scattering, you should also set "Tint Scattering by Albedo" so that the SSS effect isn't pure white. From there, you can tweak the values as you see fit. I recommend leaving Intensity at 1, as SSS is normally a subtle effect, and Intensity is a straight multiplier. License You can access the development repository of the shader at https://gitlab.com/s-ilent/standard-subsurface-scattering This work is licensed under the MIT license. https://gitlab.com/s-ilent/standard-subsurface-scattering/-/blob/master/LICENSE For support or feedback, you can join the Discord. https://discord.gg/uHJx4g629K
MIT License Copyright (c) 2019 s-ilent Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.