Solved Incorrect colors

Discussion in 'Mod Support' started by Vinh, Jan 16, 2017.

  1. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    So, my mod has a small problem. The colors is off a bit
    fix.png
    This one is suppose to be Pearl White
    stolen.png
    This one is also suppose to be Pearl White
    stock.png
    This one suppose to be Jet Black
    I attached the materials and the textures below. Hope someone could help me :)
    Have a nice day and thanks if you helped :)
     

    Attached Files:

  2. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    Bump
     
  3. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,335
    I can't really test anything here but the "Cadillac_DTS_bodyrender__prim_env_4_spec_" material has only 3 ones on diffuseColor[0]. Not sure if it even has something to do with the color.
     
  4. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    How many ones does it needs?
     
  5. Taza

    Taza
    Expand Collapse

    Joined:
    Nov 8, 2015
    Messages:
    1,335
    I mean, every other diffuseColor is defined with "1 1 1 1" or other numbers.
     
  6. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    I'll check that out....thanks
     
  7. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    It don't work...
    anyone?
     
  8. Blijo

    Blijo
    Expand Collapse

    Joined:
    Apr 27, 2016
    Messages:
    2,055
    nope, I tried it too a while ago, maybe it has to do with the textures themselves?
     
  9. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    Maybe.... @Nadeox1, anyone?
     
  10. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    Can you send the whole thing please?
     
  11. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    Sure. I'll send a PM
     
  12. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685


    Why you have 4 layers with the same texture? You probably don't need that.

    Issue 1)
    You have two almost identical materials.cs files in:
    • common/wheels/dtswheels/
    • CadillacDTS/
    Most of your materials are present in both. That is going to give you a bad time, as you won't understand from where the game is loading the materials.. (took me a while to see that..)

    Issue 2)
    You have a 3rd layer which is useless.
    It's a white texture, which is going over your 'colored' layer. That's why your color looks pale.
    If you remove the 3rd layer, which is useless from what I see, it looks like what it should:

     
    • Informative Informative x 2
  13. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    So....how should i do it? My reading skills isn't that great.....
     
    • Like Like x 1
  14. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    I don't really know how to make that clear.

    1) Remove the duplicate 'materials.cs' from common/wheels/dtswheels (or make it so it contains only the wheel materials..)
    2) Delete the 3rd layer from your body material (See my notepad screenshot above, remove all the things that have [3] from the body material)
     
    • Informative Informative x 1
  15. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    Thanks :)
    And sorry for my stupidity
     
  16. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    @Nadeox1, i followed what you said and i got this....
    Colors are now correct but for some dreadful reason, the whole trim and interior got untextured...
    screenshot_00015.png
    --- Post updated ---
    Nevermind....
    changed your steps a bit @Nadeox1. Instead of deleting the wheels's materials, i removed only the bodyrender part :)
    screenshot_00017.png
     
  17. Nadeox1

    Nadeox1
    Expand Collapse
    Spinning Cube
    BeamNG Team

    Joined:
    Aug 5, 2012
    Messages:
    14,685
    That's probably because:

    - Some of your materials are cloned in both materials.cs (Bad, you don't know from which one the game is loading them).
    - Some of your materials are only present in 1 of the materials.cs (Bad for organization).

    I advice to group them correctly, and remove the clones, if you want to avoid headache.
     
    • Informative Informative x 1
  18. Vinh

    Vinh
    Expand Collapse
    Banned

    Joined:
    Nov 15, 2015
    Messages:
    2,976
    Thank you :) I'll remember to fix it
     
  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.
    Dismiss Notice