Unsolved I need the material to glow.

Discussion in 'Mod Support' started by Nnnsk299, Jul 15, 2025 at 2:51 PM.

  1. Nnnsk299

    Nnnsk299
    Expand Collapse

    Joined:
    Oct 18, 2024
    Messages:
    19
    I need the material to glow, but it doesn't glow, please help
    code:
    "sxl_led_a": {
    "name": "sxl_led_a",
    "mapTo": "sxl_led_a",
    "class": "Material",
    "Stages": [
    {
    "baseColorMap": "/vehicles/sxl_w212_v2/txt/white.png",
    "metallicFactor": 1,
    "normalMap": "vehicles/sxl_w212_v2/txt/flat_nm.dds",
    "roughnessFactor": 1,
    "opacityMap": "vehicles/sxl_w212_v2/txt/led_a_o.png",
    "colorPaletteMap": "/vehicles/sxl_w212_v2/color2/paint_p3.png",
    "instanceDiffuse": true,
    "pixelSpecular": false,
    "glow": true,
    "glowFactor": [1,1,1]
    },
    {},
    {},
    {}
    ],
    "alphaRef": 0,
    "doubleSided": true,
    "castShadows": false,
    "dynamicCubemap": true,
    "translucent": true,
    "translucentRecvShadows": true,
    "version": 1.5
    }

    I think maybe something in the code needs to be changed
     
  2. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,441
    Replace all "glow" with "emissive"
     
  3. Nnnsk299

    Nnnsk299
    Expand Collapse

    Joined:
    Oct 18, 2024
    Messages:
    19
    I replaced it, as a result, at night the material glows not colored, but white, and the color itself is not bright, but whiter.
    is it possible to fix it?
     
    #3 Nnnsk299, Jul 15, 2025 at 4:06 PM
    Last edited: Jul 15, 2025 at 4:16 PM
  4. Agent_Y

    Agent_Y
    Expand Collapse
    Jbeam/QA support
    BeamNG Team

    Joined:
    Jul 10, 2020
    Messages:
    10,441
    The numbers in the emissiveFactor field are RGB values of the glow (0 is 0 and 1 is 255)
     
  5. Nnnsk299

    Nnnsk299
    Expand Collapse

    Joined:
    Oct 18, 2024
    Messages:
    19
    --- Post updated ---
    everything is fine, I fixed it, I just left the most necessary lines at the end of the code and everything worked as I needed 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