![]() |
|
COLOUR MATHS: INCREASING TEXTURE RANGE |
| Home | Tutorial Links | My Tutorials | Sample Materials | Freebies |
Fig 1: Normal Texture
Fig 2: Enhanced texture
Fig 3: Node setup
This shader tree needs two color maths nodes and a user defined colour. The first step is to increase the range of colours in the picture. We do this by plugging the picture into value 1 of a Color_Maths Multiply node, then plugging a User_Defined colour into Value2. We set all three values here to 2, to double the range of colours in our texture.
At the moment, the textures run from 0% to 200%. This would produce a very bright final texture, so we are going to subtract 50% from the output. In order to do that, we have plugged the output of the multiply into Value_1 of a Subtract color_math node. This time, we are using the colour of Value_2 to produce our effect. This colour has been set to a mid gray - the equivalent of 50%. This produces a final result that ranges from -50% (Blacker than black) up to 150% (whiter than white). When this is run through Poser's rendering engine, the extremes will be taken into account, producing our wider range of colours.
This effect can be used to with image based lighting to increase the range of lighting producing by a simple picture, on normal textures to increase their impact, or even on the output from other nodes.