1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SHADER window/glass material

Discussion in 'Tracks' started by luchian, Oct 23, 2014.

  1. luchian

    luchian Administrator ACM Racing Team ACM Club Driver

    Jun 3, 2014
    Likes Received:
    AC member TTM (< thank you) found a way to do some decent looking window/glass material, should you need one for your tracks. Here is his method:

    Window texture alpha channel controls window transparency. Texture must be saved argb 32 bpp - unsigned

    Step2: ksEditor
    Select window object and apply ksPerPixelAT material and then apply ksPerPixelReflection material. :) ..Without applying ..PixelAT material first window is not transparent.

    Material settings. ksSpecularEXP value controls reflection sharpness. (There is no need 0,5 to KsAlphaRef, i left value accidentally..) isAdditeve needs to be 1. FresnelMaxLevel is window's brightness, maybe not right word describe, but change value and you see. :)

    btw, there is also ksPerPixelSimpleRefl material with same values to material window only relfects blue color."

    Willy Wale, MacArnu and ihlades like this.