Shader file that controls Ghost entities?

Post all other topics which do not belong to any other category.
Post Reply
Taurondir
Inserter
Inserter
Posts: 43
Joined: Tue Apr 05, 2016 9:34 am
Contact:

Shader file that controls Ghost entities?

Post by Taurondir »

In 0.18 I could change values in "sprite-ycocg.frag" and mess with what the ghost color would look like.
I can't seem to change what I *think* should do something, as nothing seems to happen (basically I just alter number values and see what happens.

Does anyone know what effects the color of ghost entities? I can't find much info on Factorio shader files, so I'm going by a lot of guesswork and testing.

Thank you for any info.

---

ie in 0.18 there was a line "fragColor = YCoCgToRGB(param, alpha) * max(vTint, vec4(0.2, 0.1, 0.2, 0.5));" and i changed it to
"fragColor = YCoCgToRGB(param, alpha) * max(vTint, vec4(1.0, 0.1, 0.1, 0.5));" and ended up with "red" colored ghosts ...

but the 1.0 files have very different lines, so Im stuck for now.

Post Reply

Return to “General discussion”