Presence: Tiny experimental shader project for MT

Post Reply
random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Presence: Tiny experimental shader project for MT

by random_geek » Post

This is the result of a personal attempt to "figure out" shaders, and improve the default MT shaders just a bit. So far, the shaders:
  1. increase contrast (darker darks and brighter brights),
  2. add colour grading (blue in dark areas, warm orange in lighter areas),
  3. and make sunlight warmer at dawn and dusk.
In my opinion, this improves the aesthetic of MT quite a bit, especially with tonemapping enabled. However, don't expect any of the fancy features described in the "Eye candy" thread, or seen in some MC shaders.

Image

I would still like to see effects like bloom, dynamic lighting, and water reflections, but these things too complicated for my current knowledge of MT and Irrlicht.

EDIT: This effect may look better with a higher gamma value, such as 2 or 3.

Download:
https://github.com/random-geek/Presence
Last edited by random_geek on Tue Jul 24, 2018 04:55, edited 1 time in total.

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Presence: Tiny experimental shader project for MT

by texmex » Post

Great to see someone improving the shaders! I will take it for a spin.

User avatar
Devy
Member
Posts: 133
Joined: Sat Jan 21, 2017 02:31
GitHub: DevyHeavy
In-game: devy

Re: Presence: Tiny experimental shader project for MT

by Devy » Post

Tried it, love it.

Brian Gaucher
Member
Posts: 77
Joined: Wed Jan 10, 2018 01:56
GitHub: BrianGaucher
In-game: Camasia

Re: Presence: Tiny experimental shader project for MT

by Brian Gaucher » Post

I tried it and appreciated it.
Haven't installed on my phone yet though.

I have limited experience with GLSL, but I wonder if it would be possible to make shaders to simulate colour-blindness. Or even for blue-light shield.
Current projects: Making a CTF map, Learning C++, Learning Programmer's Dvorak

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: Presence: Tiny experimental shader project for MT

by random_geek » Post

Brian Gaucher wrote:I tried it and appreciated it.
Haven't installed on my phone yet though.

I have limited experience with GLSL, but I wonder if it would be possible to make shaders to simulate colour-blindness. Or even for blue-light shield.
Both would certainly be doable. Feel free to PM me. :)

u34

Re: Presence: Tiny experimental shader project for MT

by u34 » Post

Which version of minetest support these shaders?

0.4.16, 0.4.17.1 or 5.0.0-dev?

User avatar
bosapara
Member
Posts: 637
Joined: Fri Apr 07, 2017 08:49

Re: Presence: Tiny experimental shader project for MT

by bosapara » Post

thanx for shaders, looks awesome

Image

Image

User avatar
texmex
Member
Posts: 1753
Joined: Mon Jul 11, 2016 21:08
GitHub: tacotexmex
In-game: tacotexmex

Re: Presence: Tiny experimental shader project for MT

by texmex » Post

I put the shaders in my client fork. Good stuff.

random_geek
Member
Posts: 55
Joined: Wed Jun 20, 2018 18:55
GitHub: random-geek
In-game: Techy5 random_geek

Re: Presence: Tiny experimental shader project for MT

by random_geek » Post

cHyper wrote:Which version of minetest support these shaders?

0.4.16, 0.4.17.1 or 5.0.0-dev?
Should work in any of the versions, but I'm not sure. This project is also not really something I'm planning on maintaining. :)

User avatar
rudzik8
Member
Posts: 181
Joined: Wed Jun 02, 2021 04:13
GitHub: rudzik8
In-game: db75c and rudzik8
Location: Siberia

Re: Presence: Tiny experimental shader project for MT

by rudzik8 » Post

These shaders are magic. I'm serious. The main problem is that random_geek abandoned Presence, and everything we have currently is just 0.5.0-dev shaders with few changes on GitHub. Fortunately, all changes were done in nodes_shader/opengl_vertex.glsl and commented, so I did some work with porting these to 5.5.1 and now it works fine! You can install Presence without using old broken shader files, just by patching one file (should work fine, but backup your shaders folder anyways)
There you can download diff patch in .txt. It was created via WinMerge and just adds few strings to the lightning code.

MeseHub Repo of the patch (if problems occured - sumbit an issue)
My english isn't so good, sorry. || You can check out my mods here (and maps here)

Post Reply

Who is online

Users browsing this forum: No registered users and 1 guest