Colored lights

Post Reply
User avatar
1faco
Member
Posts: 84
Joined: Tue Sep 08, 2020 20:32
GitHub: minefaco
In-game: faco

Colored lights

by 1faco » Post

Is possible to colorize the "air" or "vacuum" nodes to emulate colored lights?
Image

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: Colored lights

by davidthecreator » Post

Well...

Standard issue air is kinda a completely invisible node...

Like... The not rendering at all kind of invisible... I think...

So unless you replace it by other invisible node or override it's drawtype... Not really...

But if you do replace it with another node or replace the drawtype, it kind of should be possible... But I think it would look pretty ugly and look terrible with plants, nodebox and transparent nodes...


However, MineTest supports hardware coloring, so you could probably use that to simulate colored lights... But it takes up the node's paramtype slot, so it wouldn't work well with nodes that are supposed to use paramtype for something else, but could look somewhat OK with other nodes...

User avatar
1faco
Member
Posts: 84
Joined: Tue Sep 08, 2020 20:32
GitHub: minefaco
In-game: faco

Re: Colored lights

by 1faco » Post

Thanks for your reply,
I'm going to investigate (hardware coloring) and try it, it might not go too bad

User avatar
AspireMint
Member
Posts: 415
Joined: Mon Jul 09, 2012 12:59
GitHub: AspireMint
IRC: AspireMint
In-game: AspireMint
Location: Stuck at spawn

Re: Colored lights

by AspireMint » Post

or override air node and add post_effect_color

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Colored lights

by runs » Post

AspireMint wrote:
Sun Feb 07, 2021 21:43
or override air node and add post_effect_color
This only applies when "the player is inside the node". Not valid for distant vision purposes.

Badkraft
Member
Posts: 28
Joined: Wed Jan 27, 2021 13:44

Re: Colored lights

by Badkraft » Post

1faco wrote:
Fri Feb 05, 2021 16:41
Thanks for your reply,
I'm going to investigate (hardware coloring) and try it, it might not go too bad
I would be interested in your findings and basic implementation. I'm working on a biomes that I intend to have a colored tint.

Besides, it would be nice if a red colored lamp actually emitted red light. 😬

User avatar
runs
Member
Posts: 3225
Joined: Sat Oct 27, 2018 08:32

Re: Colored lights

by runs » Post

No, colored lighting is a desire, still not real.

https://github.com/minetest/minetest/issues/2670

The problem is the implementation, not backward compatible with old worlds. Read that.

User avatar
davidthecreator
Member
Posts: 452
Joined: Mon Aug 18, 2014 19:48
GitHub: daviddoesminetest
In-game: DavidDoesMinetest
Location: Lithuania

Re: Colored lights

by davidthecreator » Post

runs wrote:
Wed Feb 17, 2021 00:49
No, colored lighting is a desire, still not real.

https://github.com/minetest/minetest/issues/2670

The problem is the implementation, not backward compatible with old worlds. Read that.
A small price to pay for colored lights

User avatar
1faco
Member
Posts: 84
Joined: Tue Sep 08, 2020 20:32
GitHub: minefaco
In-game: faco

Re: Colored lights

by 1faco » Post

Image

i made this replacing the default "air" with my own but it's so laggy... so, i hope that this will implemented in the future.

thread closed

User avatar
1faco
Member
Posts: 84
Joined: Tue Sep 08, 2020 20:32
GitHub: minefaco
In-game: faco

Re: Colored lights

by 1faco » Post


Post Reply

Who is online

Users browsing this forum: No registered users and 5 guests