1. Issues with the game?
    Check the Known Issues list before reporting!

    Dismiss Notice

unable to load compressed texture with non pow2 size error

Discussion in 'General Discussion' started by jimmyking, Aug 5, 2021.

  1. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    34
    im been trying to make textures for my mod and it works but every time I look in console and I see a error that says unable to load compressed texture with non pow2 size its a DDS file when I tried a PNG it also worked and had no errors and I use paint.net to convert the PNG to DDS if that had anything to do with it I put the png in so maybe someone can figure it out and same with the json
     

    Attached Files:

  2. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,134
    The size of the texture should be the same as all the other texture sizes on all the cars. It might end up becoming huge with a lot of unused space, that's why it makes sense to put textures for multiple parts in 1 image.
     
  3. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    34
    not sure what i did but i did something and it only works with PNG if I use DDS this happens
     

    Attached Files:

    • BeamNGdrive-0234112530-RELEASE-x648_6_20214_06_48PM.png
  4. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,134
    Still the same thing, just resize the texture file
     
  5. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    34
    resize to what?
     
  6. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,134
    To whatever size are the other textures in the vehicle
     
  7. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    34
    ok but i dont really understand what do you mean by size like 1MB or 100x100?
     
  8. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,134
    Like 100x100, in this case it will probably be something like 1024x1024 or 2048x2048
     
  9. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    34
    thank you so much now i don't have errors and while I'm here what is the difference between .json and .cs only difference I see is the .cs has better error decoding and has simpler coding and what's going to be the standard or recommended type?
     
  10. Agent_Y

    Agent_Y
    Expand Collapse

    Joined:
    Jul 10, 2020
    Messages:
    7,134
    CS doesn't have PBR support so it's useless now, use Json.
     
  11. jimmyking

    jimmyking
    Expand Collapse

    Joined:
    Mar 9, 2020
    Messages:
    34
    ok
     
    #11 jimmyking, Aug 8, 2021
    Last edited: Aug 8, 2021
  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