• We have updated our Community Code of Conduct. Please read through the new rules for the forum that are an integral part of Paradox Interactive’s User Agreement.

Katalyst6

Private
6 Badges
Jul 23, 2015
12
10
  • Cities: Skylines
  • Cities: Skylines - After Dark
  • Cities: Skylines - Snowfall
  • Cities: Skylines - Mass Transit
  • Cities: Skylines - Parklife
  • Cities: Skylines Industries
Hi!
I am the creator of the Network Extensions project; an ambitious addon that might soon add a lot of new roads and features.
http://steamcommunity.com/sharedfiles/filedetails/?id=478820060

We are having some issues with the textures (especially the road textures).


Simply the problem is this one:
1. We are adding new roads/networks by "copying" existing roads, behaviors and textures.
2. That technique is working perfectly until we get a DDS/DXT1 Texture.
3. When we copy a DDS/DXT1 Texture, the result itseft is working, but in the game, the road get a nasty reflection on some angles.


Technically (and assumptions):
1. Those DDS/DXT1 2D Textures are basically used in the LOD (Level Of Details - When the camera is far) and are highly optimized.
2. The DDS/DXT1 Textures already in the game, contains 7 mipmaps (for optimization).
3. The materials of the roads contain 3 textures: _MainTex, _APRMap, _XYSMap, that are responsible for: (in order) the Drawing of the Road, the Alpha blending with the Asphalt color and the "Texture/Behavior" of the material.


My first guess would be that my _XYSMap is not saved/exported as Cities Skylines want it to be, causing a default behavior of the material of my road.


What we are doing right now:
1. Creating a new texture from the copied one from the game (exported as PNG).
2. Editing with Adobe Photopshop.
3. >> Exporting with the Photopshop's Nvidia DDS format plugin.
4. Loading the DDS file in the game.


As you might understand, i still guess the exports is the problem since the Photopshop's Nvidia DDS format plugin is one hell of a complicated tool! =)



We are looking for probably one of those tree solutions:
1. The correct way to Save/Export the DDS/DXT files from Photoshop
2. A checklist/piece of code showing how to correctly load a DDS/DXT file into Cities Skylines
3. Any idea to manually remove the reflection from a shader/material or texture.


Thanks in advance for any help you can provide!
The Network Extensions team
 
Last edited:
Here is the reflection of the road within the game with the DDS/DXT1 file.
LODIssue1.png LODIssue2.png
 
Hi, this might be helpful...I have used it for years with FS9 & FSX, it's an old program but works perfectly.

http://www.mwgfx.co.uk/programs/dxtbmp.htm

Very versatile and reliable, (loads png files, just drag & drop into DXTBMP window).Export as DDS/DXT1, can send to your picture editor and reload your changes, handles mip-maps and can create alpha channel that you can save separately if you want.

Download link is at the very bottom of the page,
Hope it helps
 
Last edited: