Normand Briere
2019-05-01 a742f6cebf1d471217d836e07934e5c02c22b6db
CameraPane.java
....@@ -12603,8 +12603,10 @@
1260312603 "MAX ndotl.x, ndotl.x, -ndotl.x;" +
1260412604
1260512605 "SUB temp.x, one.x, ndotl.x;" +
12606
- "ADD temp.x, temp.x, options2.z;" + // lightsheen
12607
- "ADD temp.y, one.y, options2.y;" + // sursurface
12606
+ // Tuning for default skin
12607
+ //"ADD temp.x, temp.x, options2.z;" + // lightsheen
12608
+ "MAD temp.x, options2.z, half.y, temp.x;" + // lightsheen
12609
+ "ADD temp.y, one.y, options2.y;" + // subsurface
1260812610 "MUL temp.x, temp.x, temp.y;" +
1260912611
1261012612 "MUL saturation, saturation, temp.xxxx;" +