Skip to main content
Participant
August 21, 2023
Question

Need to make a custom "shader" for the files i need for my game asset textures.

  • August 21, 2023
  • 1 reply
  • 271 views

So, Cities Skylines uses the follwing files:

 

  1. Diffuse
  2. Normal [DX]
  3. Specular
  4. Illumination

 

The Illumination is just a range of White from 0 to 255. More info here: https://cslmodding.info/asset/vehicle/#illumination

 

I want to make a shader where i can paint/texture all these stuff in Painter and just export these 4 files that i need.

Any help? Still a noob at Painter

 

 

This topic has been closed for replies.

1 reply

Cyril Dellenbach
Community Manager
Community Manager
August 22, 2023

Hello @BaidDSB-3D,

 

I don't think you need to create a custom shader, as some already have these maps available (except for the Illumination).

 

For example, you can select the pbr-spec-gloss shader, and add the Diffuse, Normal and Specular in the Channels list under the Texture Set Settings. For the Illumination, you can add a User channel. This channel is dedicated to whatever the user wants to put in, and acts like all the others.

 

 

Once the project has been set up, you can save it as a template, in order to use it once again every time you create a new project.

 

 

Best regards,

 

Cyril Dellenbach (Micro) | QA Support Artist | Adobe
Participant
August 23, 2023

I created the user channel, but what what channel should i choose?

By default its L32F. All i need to do is paint black/white/shades of grey. No color