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

    Joined:
    Jun 3, 2014
    Likes Received:
    532
    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:

    "Step1:
    Window texture alpha channel controls window transparency. Texture must be saved 8.8.8.8 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.

    Step3:
    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."


    window_1.jpg
    window_2.jpg
     
    MacArnu and ihlades like this.