1. Trouble with the game?
    Try the troubleshooter!

    Dismiss Notice
  2. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

How to color showroom in 0.31?

Discussion in 'General Discussion' started by Franz027, Dec 15, 2023.

  1. Franz027

    Franz027
    Expand Collapse

    Joined:
    May 8, 2020
    Messages:
    4,675
    Heyy guys, I need to color the shoowroom, for some pics!
    How can I color the background?
    screenshot_2023-12-15_22-52-40.png
     
  2. 23Terrabytes

    23Terrabytes
    Expand Collapse

    Joined:
    Aug 1, 2022
    Messages:
    195
    Open the zip for the map:

    Code:
    C:\Steam\steamapps\common\BeamNG.drive\content\levels\showroom_v2.zip
    
    Copy this file inside the zip:
    
    \levels\showroom_v2\art\shapes\main\main.materials.json

    Create the same folders found inside the zip (like show above) within your user data folder and copy\paste the "main.materials.json" inside, so it will look like this when done:

    Code:
    ..\0.31\levels\showroom_v2\art\shapes\main\main.materials.json
    Open\Edit the materials file and find this section of the file at the top under "backdrop_a":

    Code:
            "diffuseColor": [
              0.0784310028,
              0.0784310028,
              0.0784310028,
              1
    • The diffuseColor uses a 0-1 scale RGB with Alpha channel
    • Red
    • Green
    • Blue
    • Alpha (transparency 0=translucent 1=opaque)
    You can use something like this website to get the colors you want: https://rgbcolorpicker.com/0-1

    The colors use a 0-1 scale, so use that website, or if you have the RGB colors in 0-255 format divide your numbers by 255 to get the 0-1 scale. So 150\255 = 0.588

    Save and youre done. You can also change the "backdrop_b" section as well if you want two custom colors.




    Here is pure green for greenscreen:

    Code:
            "diffuseColor": [
              0,
              1,
              0,
              1
     
    #2 23Terrabytes, Dec 16, 2023
    Last edited: Dec 16, 2023
  3. Franz027

    Franz027
    Expand Collapse

    Joined:
    May 8, 2020
    Messages:
    4,675
    Thanks man! Sounds difficult...
     
  4. 23Terrabytes

    23Terrabytes
    Expand Collapse

    Joined:
    Aug 1, 2022
    Messages:
    195
    Youre welcome, if you do end up giving it a try its not as bad as it seems. Its only one file that you have to copy. And once you open it to find the "diffuseColor" part its very obvious where it is since that whole file is very short. The reason I mention to put it into your userdata folder is so if anything does get messed up you can just delete the folders\file you copied into the userdata folder and the game will just go back to normal and use the original inside the zip. Either way, youre welcome and good luck.
     
    • Like Like x 1
  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