Page 1 of 1

Presence: Tiny experimental shader project for MT

Posted: Sat Jul 14, 2018 04:45
by random_geek
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

Re: Presence: Tiny experimental shader project for MT

Posted: Sat Jul 21, 2018 18:54
by texmex
Great to see someone improving the shaders! I will take it for a spin.

Re: Presence: Tiny experimental shader project for MT

Posted: Wed Jul 25, 2018 01:58
by Devy
Tried it, love it.

Re: Presence: Tiny experimental shader project for MT

Posted: Thu Nov 01, 2018 00:25
by Brian Gaucher
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.

Re: Presence: Tiny experimental shader project for MT

Posted: Wed Dec 12, 2018 04:25
by random_geek
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. :)

Re: Presence: Tiny experimental shader project for MT

Posted: Thu Dec 13, 2018 11:54
by u34
Which version of minetest support these shaders?

0.4.16, 0.4.17.1 or 5.0.0-dev?

Re: Presence: Tiny experimental shader project for MT

Posted: Sun Dec 23, 2018 13:14
by bosapara
thanx for shaders, looks awesome

Image

Image

Re: Presence: Tiny experimental shader project for MT

Posted: Sun Dec 23, 2018 13:37
by texmex
I put the shaders in my client fork. Good stuff.

Re: Presence: Tiny experimental shader project for MT

Posted: Tue Jan 08, 2019 02:19
by random_geek
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. :)

Re: Presence: Tiny experimental shader project for MT

Posted: Mon Jun 06, 2022 05:03
by rudzik8
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)