Free Shaders - Page 5 |
See the notes on the Free Shaders Intro Page concerning the download and use of these shaders. |
A sophisticated shader, that allows for the creation of just about any reflectance material imaginable, although it has special processing in it which makes it particularly useful for producing glass. The shader introduces several new types of processing, to give (in my opinion) the most flexible and realistic glass rendering seen yet in trueSpace. First, you have full control over what the shader should do when it encounters Total Internal Reflection, opting for realistic processing where the ray is reflected rather than refracted, through to simpler (and so faster) processing where the ray simply escapes from the object, or even simpler processing where raytracing stops and a single colour is used. Next, the shader features Fresnel effects in transmission and reflection, both of which can be controlled separately. This means you can have your glass less transparent and more reflective at steeper angles to the camera, creating real world effects for your glass material. |
|
|
|||||||||||||
A test render of a bowl using the glass shader (with apples borrowed from the tS5 tutorial scenes). |
|
|
|||||||||||||||
ShaderLab 1 version : N/A (New To ShaderLab 2!) |
TG Glow is a flexible glow shader, which can be used to achieve a range of effects. First, it does conventional glows, with an inner centre to the glow, surrounded by a ring. You have full control of the colour and transparency of the inner area, the inside edge of the ring, and the outside edge of the ring. |
|
|
||||||||||||
Finally, TG Glow has an unusual effect on shadowcasting. Although this is best kept disabled for conventional use (such as the two previous images), it can lead to some very unusual results from shadowing, including some simulated “caustics”. The shader is split into 2 parts, TG GlowC for colour and TG GlowT for transparency, and can be used together or separately, and each controlled independently. ShaderLab 1 version : Last Modified 28th Jan 2000 |
ShaderLab 2 now includes the ability to process images. TG Image Seamlessify is a colour shader, which takes an input texture and turns it into a simple seamless texture. It does this by repeating the texture, and reversing it each repeat, just as you might do in an external art package. To help reduce the “repeating tiles” nature of this result, noise can be added in to the repeats in the U or the V to vary each repeat. Although this is a very simple method of turning a texture into a seamless texture (and doesn’t compare to manual or professional image editing to achieve the same aim!), it can still be very useful as a quick and easy means of creating a seamless texture. ShaderLab 1 version : N/A (new to ShaderLab 2!) |
||
This does the same processing as TG Image Seamlessify, except it allow noise in both the U and V directions at the same time. This has been produced as a separate shader, as it’s slightly slower than TG Seamlessify as it has to call two noise functions rather than just one. With the two versions of the shader, you can choose the most appropriate for your needs, depending on speed or level of detail in the noise. ShaderLab 1 version : N/A (new to ShaderLab 2!) |
||
|
|
|
|
|||||||||||||||||||||