[Question] Edits to Shaders?

Discussion about Mods for Prison Architect

Moderator: NBJeff

RGeezy911
level5
level5
Posts: 1098
Joined: Fri Aug 09, 2013 7:21 pm

[Question] Edits to Shaders?

Postby RGeezy911 » Fri Nov 14, 2014 12:09 am

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!
keep_on
level1
level1
Posts: 45
Joined: Mon Jun 23, 2014 2:00 pm

Re: [Question] Edits to Shaders?

Postby keep_on » Fri Nov 14, 2014 11:40 am

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 ;)
RGeezy911
level5
level5
Posts: 1098
Joined: Fri Aug 09, 2013 7:21 pm

Re: [Question] Edits to Shaders?

Postby RGeezy911 » Fri Nov 14, 2014 7:53 pm

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.
learn_more
level1
level1
Posts: 36
Joined: Sun Sep 07, 2014 9:18 pm

Re: [Question] Edits to Shaders?

Postby learn_more » Fri Nov 14, 2014 10:50 pm

did you take a look at the materials Grass, LongGrass and GrassTurf already?
RGeezy911
level5
level5
Posts: 1098
Joined: Fri Aug 09, 2013 7:21 pm

Re: [Question] Edits to Shaders?

Postby RGeezy911 » Sat Nov 15, 2014 1:49 am

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.).
learn_more
level1
level1
Posts: 36
Joined: Sun Sep 07, 2014 9:18 pm

Re: [Question] Edits to Shaders?

Postby learn_more » Sat Nov 15, 2014 4:01 am

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
User avatar
bejay45
level0
Posts: 3
Joined: Fri Feb 14, 2014 12:48 pm

Re: [Question] Edits to Shaders?

Postby bejay45 » Wed Nov 19, 2014 11:43 pm

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

Return to “Modding”

Who is online

Users browsing this forum: No registered users and 3 guests