Light absorbing shader

Discussion in 'Racer Physics and Technical' started by 2o6, Aug 25, 2010.

  1. 2o6

    2o6

    Messages:
    331
    Ratings:
    +72
    I'm on the brink of releasing my car (that it seems like I have been working on since the beginning of time) but I have issues with the shader. The interior main texture pretty much absorbs all light. How can I fix this?
     
  2. Some1

    Some1

    Messages:
    671
    Ratings:
    +482
    What shader are you using for the interior main texture (material)?
     
  3. Mr Whippy

    Mr Whippy

    Messages:
    3,003
    Ratings:
    +472
    Also, are you using the cg or non-cg shaders?

    A good material for an interior, say leather, would be...

    vf_standard
    {
    vertex_shader
    {
    file=dyn_standard_v.cg
    }
    fragment_shader
    {
    file=standard_f.cg
    }
    }

    leather~vf_standard
    {
    shininess=6
    specular=0.25 0.25 0.25
    layer0
    {
    map=leather.tga
    }
    }


    Add a specular map if you want more control using dyn_standard_speca_f.cg

    Then you can add some depth to the materials specular response!


    Post some pics/details and we should be able to help further :D

    Dave
     
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.