Texture error

Discussion in 'Track Modding' started by Simon Peace, Feb 22, 2012.

  1. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    Hi Guys,

    Im getting a texture error...

    "DDS Format Cube required for this stage" when importing some TSO from RFactor1... I am going to produce in both rF1 and rF2 versions... but the shader stage has an associated dds file but it keeps complaining... any ideas why?

    Cheers

    Simon:confused:
     
  2. Guineapiggy

    Guineapiggy Registered

    Joined:
    Apr 22, 2011
    Messages:
    535
    Likes Received:
    0
    Is it specifically a DDS cube map? It's quite a specific format.
     
  3. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    it "should be" a DDS Cube map because it is what is being "imported" how do i tell if a DDS is in the correct format?
     
  4. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    current file says it is...

    1024x512 RGBA color 8 bits/channel - single image
     
  5. Guineapiggy

    Guineapiggy Registered

    Joined:
    Apr 22, 2011
    Messages:
    535
    Likes Received:
    0
    I think rF1 was far more lenient about environmental maps but cube maps are a very specific format. They've got a 6:1 aspect ratio for a start - edit - so no, 1024 x 512 is not a DDS cube map.
     
  6. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    should it be 3072 x 512 then to make the 6:1?
     
  7. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    3072 x 512 didn't work
     
  8. Guineapiggy

    Guineapiggy Registered

    Joined:
    Apr 22, 2011
    Messages:
    535
    Likes Received:
    0
    Don't mean to sound superior on this one but you'll likely need to re-export anyway, so google is your friend here.
     
  9. Simon Peace

    Simon Peace Registered

    Joined:
    Nov 10, 2011
    Messages:
    121
    Likes Received:
    0
    yes i did re-export... anyway downloaded another cube map and that works good enough for me... so fixed.
     
  10. Guineapiggy

    Guineapiggy Registered

    Joined:
    Apr 22, 2011
    Messages:
    535
    Likes Received:
    0
    Not really, and a quick google search would have answered everything.

    Oh well.
     
  11. blakboks

    blakboks Registered

    Joined:
    Oct 20, 2010
    Messages:
    843
    Likes Received:
    30
    Just making the image wider won't make it a cubemap. When exporting to DDS, make sure you tell it that it's a CubeMap. I'm not 100% sure on this one, but I also don't think you want to do MipMaps. The image below should help in creating them. NOTE: In determining orientation, the sign comes before the axis (i.e. +X, -X, +Y, -Y, +Z, -Z).

    View attachment 1335
     

Share This Page