1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.
Dismiss Notice
Like RaceDepartment on Facebook.

3d Dials and Dial shaders

Discussion in 'Racer Problems & Fixes' started by camsinny, Aug 27, 2010.

  1. Ok, so, I'm trying to get 3d dials/gauges working properly but there's a bit of a problem.
    How do we define shaders for dials/gauges? Currently they're really dark.

    And why isn't this working?
    Code:
      elt2
        {
          type=digital
          x=0.343
          y=0.331
          z=1.037
          is3d=1
          ; Size
          width=0.08
          height=0.08
          image=GearFont1.tga
          ; Variable to measure
          var=gear
          digits=0
          factor=1
          src_char_wid=64
          src_char_hgt=64
          char_wid=18
          char_hgt=18
          char_dx=64
        }
    I get no output at all. Can we not have 3d digital dials?

    Cheers all
    Cam
     
  2. Try a shader in the car.shd file if you haven't already.
     
  3. But what the hell do I call it? O.o
     
  4. Hehe, good point :D

    They have never really worked right for a long time. The system needs clarifying/fixing really, as it'd be good to fix these now and forever :D

    Dave
     
  5. So I figured it out, the width and height mean nothing when the dials are 3d.
    When they are 3d the char_wid and char_hgt matter.

    We still need to be able to define shaders for these though!!
     
  6. I don't know why the needles are always such a problem, it seems that they should have had a shader just like the rest of the car from the start of CG. Now they are black in the sun and only visible at night.

    Alex Forbin