Page 1 of 1

[Question] Edits to Shaders?

Posted: Fri Nov 14, 2014 12:09 am
by RGeezy911
So I've been wondering if anyone has managed to edit the shader files in silly ways, and are willing to share what they did.

Reason being is that I'm near completion of a simple winter themed mod, and I'm trying to edit the green blobs that appear on the outside ground textures:

Image Image

Obviously, the green doesn't fit very well with the snowed-in theme.

From what I know, the green blob is part of the lightmap, but that's it. So, if any information, please share!

Cheers!

Re: [Question] Edits to Shaders?

Posted: Fri Nov 14, 2014 11:40 am
by keep_on
I am not sure to understand very well... I can't see what's green and could be linked to the shaders in your pictures...

Are you talking about the small green/grey "dots" between your snow area and your grass area?

If yes, they looks like the "outside ground textures" in the tileset.png

If you are talking about something else, my english is guilty ;)

Re: [Question] Edits to Shaders?

Posted: Fri Nov 14, 2014 7:53 pm
by RGeezy911
Sorry if I wasn't more clear. I'll try to explain again.

In the first image displayed, the tileset.png is the default. Under the trees are the normal grass and dirt tiles.

However, in the second image, the tileset.png is modified. Under the trees are mostly snow tiles. The snowy grass and dirt tiles are almost white, but whenever I load the game, green "blobs" appear over those tiles. In my case, the green area in the center of the second image should be white instead of green.

keep_on wrote:... between your snow area and your grass area?

That's the problem. I've changed the grass tile to look almost white in color. But the game continues to place green coloring.

When running the game in safe mode, these green "blobs" don't appear, along with the lightmaps.

Re: [Question] Edits to Shaders?

Posted: Fri Nov 14, 2014 10:50 pm
by learn_more
did you take a look at the materials Grass, LongGrass and GrassTurf already?

Re: [Question] Edits to Shaders?

Posted: Sat Nov 15, 2014 1:49 am
by RGeezy911
Yep. Nothing in the materials.txt file helps me. I have already edited those tiles in the tileset.png, including the decay (the small green pieces of weeds and footprints, etc.).

Re: [Question] Edits to Shaders?

Posted: Sat Nov 15, 2014 4:01 am
by learn_more
these are the only shaders i see being used in the exe.

Code: Select all

data/shaders/lightmap.vs
data/shaders/lightmap.fs
data/shaders/roofs.fs
data/shaders/sunshadows.fs

Re: [Question] Edits to Shaders?

Posted: Wed Nov 19, 2014 11:43 pm
by bejay45
I know what you mean, let me help you explain.

I've done some testing to search for skin and clothes colors (see other post). I changed all the textures to black and white. The Lamps and the trees and some floors still have some colors

Image

Image