Page 1 of 1

[mod] Colored Water, Ice, and Snow [coloredwater]

PostPosted: Fri May 15, 2015 19:45
by Sinkidonk
This mod add Colored Water, Ice, and Snow to minetest.

All code and texture will be release under the WTFPL License.

get the mod from the git repository hear
https://github.com/Sinkidonk/Minetest_coloredwater.

Can anyone help me out with finding out why post_effect_color don't like the input from the table, I get no errors so I don't know how to debug that.
If anyone care to look into it the file that have the code is looptest.lua.
If you don't understand what the problem I have is go under the green, or blue color water, and then go under any other color water.
If anyone would care to show me how I can debug this my self, as long as I can understand the help being giving to me I will be more then willing to debug this my self.

Re: [mod] Colored Water, Ice, and Snow [coloredwater]

PostPosted: Fri May 15, 2015 20:31
by Hybrid Dog
That are a lot textures. You could use the "colorize" texture modifier.

Re: [mod] Colored Water, Ice, and Snow [coloredwater]

PostPosted: Sat May 16, 2015 12:36
by 4aiman
So... this has nothing to do with biome-coloured water?

Re: [mod] Colored Water, Ice, and Snow [coloredwater]

PostPosted: Sat May 16, 2015 23:34
by Sinkidonk
Hybrid Dog wrote:That are a lot textures. You could use the "colorize" texture modifier.

Thank You for this I will look into this as soon I get home and start removeing a lot of the texture.

Re: [mod] Colored Water, Ice, and Snow [coloredwater]

PostPosted: Sun May 17, 2015 00:01
by Sinkidonk
4aiman wrote:So... this has nothing to do with biome-coloured water?


No not at this point in time, but I do like that idea when I get done with reduceing the texture in the mod and/or I add In more color I will see if I can add colored water biome. I'm not sure how I can do that, but then again I don't know how I can reduced the texture yet.

Re: [mod] Colored Water, Ice, and Snow [coloredwater]

PostPosted: Sun May 17, 2015 04:52
by Nathan.S
To reduce the textures you just create a base texture in white, and then use the colorize command thingy too add color to the white texture, this way you only have one file for each texture rather than one file for each color of each texture.