• Dear visitors,

    The email issue has been finally solved.
    Thank you for your patience and happy browsing.

    Team ACM.

W.I.P. Sachsenring

Johnr777

Moderator
Looking great!

This will help with the grass and gravel tiling by the way:

Code:
[SHADER_REPLACEMENT_...]
MATERIALS = 
PROP_...= ksAlphaRef, -193
 

Gunnar333

Well-Known Member
Looking great!

This will help with the grass and gravel tiling by the way:

Code:
[SHADER_REPLACEMENT_...]
MATERIALS = 
PROP_...= ksAlphaRef, -193
Hmm... I don't get it. Can you explain a bit more please? Do you mean for a transition effect between gravel and grass or for CM Grass FX?
 

Johnr777

Moderator
Hmm... I don't get it. Can you explain a bit more please? Do you mean for a transition effect between gravel and grass or for CM Grass FX?
In your grass and gravel shaders, the main ones, theres a tiling effect from the repetition of the detail textures, its very common.

The code above is some CSP trickery that does something to the textures mip maps to reduce the repetition :)
 

Gunnar333

Well-Known Member
In your grass and gravel shaders, the main ones, theres a tiling effect from the repetition of the detail textures, its very common.

The code above is some CSP trickery that does something to the textures mip maps to reduce the repetition :)
Oh.. okay. I'll have a look at it. Thanks! [emoji1635]
 

Gunnar333

Well-Known Member
I could get rid of this texture tiling effect with:

Code:
[MATERIAL_ADJUSTMENT_5]
MATERIALS = Grass, grassmap0?
KEY_0 = ksAlphaRef
VALUE_0 = -193
OFF_VALUE_0 = -193
ACTIVE = 1
DESCRIPTION = tiling fix

another way for that:
[SHADER_REPLACEMENT_0]
MATERIALS = your_material
SHADER = ksPerPixel_tilingfix
I couldn't find any info (CSP GitHub Wiki) for this "ksPerPixel_tilingfix" Shader.
Any hints?
 

EKO Sim-Racing

Well-Known Member
I could get rid of this texture tiling effect with:

Code:
[MATERIAL_ADJUSTMENT_5]
MATERIALS = Grass, grassmap0?
KEY_0 = ksAlphaRef
VALUE_0 = -193
OFF_VALUE_0 = -193
ACTIVE = 1
DESCRIPTION = tiling fix


I couldn't find any info (CSP GitHub Wiki) for this "ksPerPixel_tilingfix" Shader.
Any hints?
Did you look on the discord ?
 

Johnr777

Moderator
I could get rid of this texture tiling effect with:

Code:
[MATERIAL_ADJUSTMENT_5]
MATERIALS = Grass, grassmap0?
KEY_0 = ksAlphaRef
VALUE_0 = -193
OFF_VALUE_0 = -193
ACTIVE = 1
DESCRIPTION = tiling fix


I couldn't find any info (CSP GitHub Wiki) for this "ksPerPixel_tilingfix" Shader.
Any hints?
As the name suggests, its a shader created to reduce tiling for materials without a detail texture. so anything that originally uses ksPerPixel.

In your case, the code you've been using is probably what you need :)

Also, you dont need to number material_adjustment entries, or any other config entries.

This format allows them to work as well:

[MATERIAL_ADJUSTMENT_...]
[MESH_ADJUSTMENT_...]
[CONDITION_...]
[SHADER_REPLACEMENT_...]

that way you dont need to worry about keeping track of numbers
 

Gunnar333

Well-Known Member
Did you look on the discord ?
No, not yet.

As the name suggests, its a shader created to reduce tiling for materials without a detail texture. so anything that originally uses ksPerPixel.

In your case, the code you've been using is probably what you need :)

Also, you dont need to number material_adjustment entries, or any other config entries.

This format allows them to work as well:

[MATERIAL_ADJUSTMENT_...]
[MESH_ADJUSTMENT_...]
[CONDITION_...]
[SHADER_REPLACEMENT_...]

that way you dont need to worry about keeping track of numbers
Okay thanks. My materials are ksMultilayer so I think I'm better off with ksAlphaRef method.
Thanks for the info with numbering, didn't know that. Make things easier. :D
 

SebSto

New Member
Hey, maybe a bit late but i read that you are learning substance painter for your track project. Feel free to ask me anything you want to know, I use it everyday at work and maybe i can help you with some things and give you some workflow tips. Also Substance Designer in case you are using that too.

Nice work so far!
 

Gunnar333

Well-Known Member
It would be cool if you can do a short tutorial on how to integrate substance painter in your AC Modding workflow.
And maybe how to do a proper multimaterial for AC with all the advantages (AO, NM, etc...) of substance painter.
 

SebSto

New Member
Well because of AC's super weird and somewhat ancient shader setup, it is not possible to integrate SP and SD into a workflow that is comparable to working with Unreal or even CryEngine, which was notoriously difficult in this regard. But, when I get around to it I can show how I set up a project template with layers, anchor points and masks to paint splat maps for multimaterial shaders, and how to normalize the channels in substance designer.

With export presets, i am working on that myself still, because its not so easy to paint materials in a software that is predominantly made with PBR in mind, like pretty much everything works nowadays, but export it to AC's shaders. For simple materials, i usually just multiply the AO into the Albedo like in ye olden days of texturing :D
 

Gunnar333

Well-Known Member
I really can't say when. It's done when it's done.
I also don't plan to release any beta version before the final.
Just bookmark this thread. I will post all progress update here.
 
Top