.. | .. |
---|
106 | 106 | static boolean OEIL = true; |
---|
107 | 107 | static boolean OEILONCE = false; // do oeilon then oeiloff |
---|
108 | 108 | static boolean LOOKAT = true; |
---|
109 | | -static boolean RANDOM = true; // false; |
---|
| 109 | +static boolean SWITCH = true; // false; |
---|
110 | 110 | static boolean HANDLES = false; // selection doesn't work!! |
---|
111 | 111 | static boolean PAINTMODE = false; |
---|
112 | 112 | |
---|
.. | .. |
---|
2267 | 2267 | |
---|
2268 | 2268 | void ToggleRandom() |
---|
2269 | 2269 | { |
---|
2270 | | - RANDOM ^= true; |
---|
| 2270 | + SWITCH ^= true; |
---|
2271 | 2271 | } |
---|
2272 | 2272 | |
---|
2273 | 2273 | void ToggleHandles() |
---|
.. | .. |
---|
12603 | 12603 | "MAX ndotl.x, ndotl.x, -ndotl.x;" + |
---|
12604 | 12604 | |
---|
12605 | 12605 | "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 |
---|
12608 | 12610 | "MUL temp.x, temp.x, temp.y;" + |
---|
12609 | 12611 | |
---|
12610 | 12612 | "MUL saturation, saturation, temp.xxxx;" + |
---|