TG Toon Reflectance Parameters |
||||||
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
||||||
TG TOON REFLECTANCE Ambient, Diffuse, Shininess, Roughness, Specular Colour TG TOON REFLECTANCE NOISE Noise Type |
||||||
![]() |
||||||
TG TOON REFLECTANCE |
||||||
Ambient, Diffuse, Shininess, Roughness, Specular Colour The standard lighting parameters (specular colour is provided here, but not in the 3Tone shaders, since the 3Tone shaders use the highlight colour instead). |
||||||
Range : 0 to 50 Modifies the colour saturation prior to carrying out the colour quantisation. Values of less than 1 will reduce the colour saturation (a value of zero giving a greyscale image), and values of greater than 1 will increase the colour saturation. Increasing the colour saturation prior to quantising can give improved results from the colour quantisation calculations (and can also allow or require a lower setting in the Colour Steps parameter) - quite often, the quantistion will generate “new” colours not in the original colour shader, since the colours get shifted toward a nearest step (so a pink or purple might appear where only orange was visible previously); raising this value above 1 can offset that, and give more of the “expected” colours. However, also bear in mind that quite often, a value above 1 in this parameter will be creating a colour that is “impossible” to render (eg red = 1025, where red can only vary from 0 to 255 on the display). The interpretation of these values in the final render may be somewhat unusual! In particular, high values here with a Post-Quantise Saturation of still around 1 (that is, the saturation is not reduced after the quantisation) may result in a darkening of the final rendered colour. |
||||||
Range : 0 to 20 Controls the colour quantisation, that is, breaking up the colours from smoothly varying into a series of bands. This parameter controls how many bands to split the colours into, a lower number resulting in harsher colour changes, and a higher value giving a result almost indistinguishable from no quantisation. A higher value in the Pre-Quantise Saturation parameter can give improved results, or allow / require lower values in this parameter. Note that setting this value to zero will turn off the colour quantisation, giving faster processing. |
||||||
Range : 0 to 20 Controls the quantisation of the brightness, resulting in a series of bands of brightness. Note that brightness is NOT affected by saturation, so the Pre-Quantisation Saturation parameter has no effect. These calculations are also independent of the colour quantisation calculations. Note that settings this value to zero will turn off the brightness quantisation, giving faster processing. |
||||||
Range : 0 to 50 Modifies the colour saturation after the quantisation has been done. Again, values of less than 1 reduce the colour saturation (0 giving a greyscale result), and values of greater than 1 increase the colour saturation. This parameter can be used to compensate for the changes made by the Pre-Quantise Saturation, by reducing the final colour saturation displayed, but allowing the saturation to be increased prior to the colour quantise calculations. |
||||||
Range : Checked or unchecked When unchecked, the specular highlights are calculated normally, and the results affected by both colour and brightness quantisation. When checked, when the specular calculations return more than a pre-set value, a solid colour is used for the highlight (rather like in the 3Tone shaders). The Specular Colour is used in that instance (without being added to the results of the diffuse or colour shader calculations). When checked, the size of the highlights can be controlled either through adjusting the Shininess or Roughness parameters. Note that raising the Roughness parameter to enlarge the highlights can also result in more unusual shapes in the highlight, while keeping Roughness the same and increasing the Shininess gives conventional circular highlights, but making them larger as Shininess increases. |
||||||
![]() |
||||||
TG TOON REFLECTANCE NOISE |
||||||
previous parameters as TG Toon Reflectance |
||||||
Range : 1 to 3 1 is Perlin, 2 is Classic,and 3 is Sparse. |
||||||
Range : 0 to 10 Higher values give more effect from the noise, disturbing the boundaries of the brightness quantisation. |
||||||
Range : 0 to 10 Higher values give more effect from the noise, disturbing the boundaries of the colour quantisation. Note that the noise actually adjusts the colour steps, both upward and downward - this means that the noise can result in areas with colour steps of zero or less, and can result in black areas appearing in the result (just as using a very low value in Colour Steps can). Raise the Colour Steps value, or lower the Noise Strength - Colour value if you want to remove those black areas from the result (occasionally, raising the Pre-Quantise Saturation can help too). Also note that raising this value can sometimes slow the rendering. |
||||||
Range : 1 to 10 Higher values add more detail to the noise, but take longer to render. Note that values above 4 or 5 generally don’t show much of a visible increase in detail. |
||||||
Range : 0 to 1000 Higher values result in smaller, more dense pattern to the noise. Also note that higher values can result in slower rendering. |
||||||
Range : 0 to 100, for each parameter Control the scaling of the noise in the x, y and z directions independently, allowing the effect to be stretched and squashed. Note that in order to allow the full range of values, due to the workings of ShaderLab 2.2, the parameter is displayed as a colour parameter, and has its initial values set to just above 1; also as a result, the parameter will allow negative values, which will scale the noise similarly but reverse the direction (negative values are not generally recommended though!). |
||||||
![]() |
||||||
TG TOON REFLECTANCE NOISE PROJECTED |
||||||
This shares exactly the same parameters as TG Toon Reflectance Noise, only the noise is calculated using the screen / final image co-ordinates (so the noise appears as if projected flat onto the image, from the camera or point of view). This means it is unaffected by the Mapping Adjustment parameters in ShaderLab. |
||||||
![]() |
||||||
TG Toon Reflectance Parameters |
||||||
![]() |
||||||