浏览代码

Remove Albedo Influence on Specular Light Brightness

Swapping the order of the multiply and add nodes in the ToonShading subgraph to multiply albedo by diffuse light alone, then add specular highlights.

Along with this is the need ability to control specular light transparency, which can now be done using the Specular Color property's alpha channel.
/main
Dane Byrd 4 年前
当前提交
8ae0f49f
共有 10 个文件被更改,包括 143 次插入69 次删除
  1. 4
      UOP1_Project/Assets/Art/Characters/BardHare/BardHare.mat
  2. 2
      UOP1_Project/Assets/Art/Characters/FryKing/FryKing.mat
  3. 2
      UOP1_Project/Assets/Art/Characters/PigChef/PigChef.mat
  4. 2
      UOP1_Project/Assets/Art/Characters/PigChef/Pig_Specular.png.meta
  5. 2
      UOP1_Project/Assets/Art/Characters/RockCritter/RockCritter.mat
  6. 2
      UOP1_Project/Assets/Art/Characters/Townsfolk_F/Townsfolk_F.mat
  7. 12
      UOP1_Project/Assets/Art/Characters/Townsfolk_F/townsfolk_F_Roughness.png.meta
  8. 2
      UOP1_Project/Assets/Art/Characters/Townsfolk_M/Townsfolk_M.mat
  9. 14
      UOP1_Project/Assets/Shaders/SubGraphs/ToonLightingModel.shadersubgraph
  10. 170
      UOP1_Project/Assets/Shaders/SubGraphs/ToonShading.shadersubgraph

4
UOP1_Project/Assets/Art/Characters/BardHare/BardHare.mat


- _OutlineThickness: 3
- _QueueOffset: 0
- _ReceiveShadows: 1
- _Smoothness: 0.3
- _Smoothness: 0.101
- _SmoothnessTextureChannel: 0
- _SpecularHighlights: 1
- _SrcBlend: 1

- _MainColor: {r: 1, g: 1, b: 1, a: 0}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0.39999998, g: 0.39999998, b: 0.39999998, a: 0}
- _SpecularColor: {r: 0.3999999, g: 0.3999999, b: 0.3999999, a: 0.14901961}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}

2
UOP1_Project/Assets/Art/Characters/FryKing/FryKing.mat


- _MainColor: {r: 1, g: 1, b: 1, a: 0}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0.4, g: 0.4, b: 0.4, a: 0}
- _SpecularColor: {r: 0.3999999, g: 0.3999999, b: 0.3999999, a: 0.5019608}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}

2
UOP1_Project/Assets/Art/Characters/PigChef/PigChef.mat


- _MixedShadowsColor: {r: 0.52380735, g: 0.5930185, b: 0.745283, a: 1}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0.39999998, g: 0.39999998, b: 0.39999998, a: 0}
- _SpecularColor: {r: 0.95686275, g: 0.65882355, b: 0.46666658, a: 0.14901961}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}
- _Tint: {r: 1, g: 1, b: 1, a: 0}
--- !u!114 &3217464616716757470

2
UOP1_Project/Assets/Art/Characters/PigChef/Pig_Specular.png.meta


maxTextureSize: 2048
textureSettings:
serializedVersion: 2
filterMode: -1
filterMode: 1
aniso: -1
mipBias: -100
wrapU: -1

2
UOP1_Project/Assets/Art/Characters/RockCritter/RockCritter.mat


- _MainColor: {r: 1, g: 1, b: 1, a: 0}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0.27224994, g: 0.39032564, b: 0.4339623, a: 0}
- _SpecularColor: {r: 0.20545867, g: 0.375099, b: 0.43529397, a: 0.14901961}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}

2
UOP1_Project/Assets/Art/Characters/Townsfolk_F/Townsfolk_F.mat


- _MainColor: {r: 1, g: 1, b: 1, a: 0}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0.39999998, g: 0.39999998, b: 0.39999998, a: 0}
- _SpecularColor: {r: 0.3999999, g: 0.3999999, b: 0.3999999, a: 0.2}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}

12
UOP1_Project/Assets/Art/Characters/Townsfolk_F/townsfolk_F_Roughness.png.meta


overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
- serializedVersion: 3
buildTarget: Standalone
maxTextureSize: 2048
resizeAlgorithm: 0
textureFormat: -1
textureCompression: 1
compressionQuality: 50
crunchedCompression: 0
allowsAlphaSplitting: 0
overridden: 0
androidETC2FallbackOverride: 0
forceMaximumCompressionQuality_BC6H_BC7: 0
spriteSheet:
serializedVersion: 2
sprites: []

2
UOP1_Project/Assets/Art/Characters/Townsfolk_M/Townsfolk_M.mat


- _MainColor: {r: 1, g: 1, b: 1, a: 0}
- _Offset: {r: 0, g: 0, b: 0, a: 0}
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1}
- _SpecularColor: {r: 0.39999998, g: 0.39999998, b: 0.39999998, a: 0}
- _SpecularColor: {r: 0.39999998, g: 0.39999998, b: 0.39999998, a: 0.2}
- _Tiling: {r: 1, g: 1, b: 0, a: 0}

14
UOP1_Project/Assets/Shaders/SubGraphs/ToonLightingModel.shadersubgraph
文件差异内容过多而无法显示
查看文件

170
UOP1_Project/Assets/Shaders/SubGraphs/ToonShading.shadersubgraph
文件差异内容过多而无法显示
查看文件

正在加载...
取消
保存