Jump to content

AshuraDX

JKHub Staff
  • Posts

    2,319
  • Joined

  • Last visited

Posts posted by AshuraDX

  1. okay will paly around with this
    I want to achieve a glossy oil puddle decal for an efx file so I can scrap the lightmap I guess

    EDIT: I got this , and it doesn'T look like it's working in ShaderED2...
     

    gfx/newfx/puddle_decal
    {
        surfaceparm    trans
        polygonOffset
        q3map_nolightmap
        {
            map gfx/newfx/puddle_mask
            alphaFunc GE128
            depthWrite
        }
        {
            map gfx/newfx/puddle
            blendFunc GL_ONE GL_ZERO
            depthFunc equal
            rgbGen lightingDiffuse
            tcMod scroll -0.05 0
        }
        {
            map gfx/newfx/puddle_env
            blendFunc GL_ONE GL_ONE
            depthFunc equal
            glow
            tcGen environment
        }
    }
    
    
    
×
×
  • Create New...