Page 1 of 1
Shader Mod for Minetest

Posted:
Fri Jan 04, 2013 11:46
by KingSmarty
Hi,
before i played Minetest i played Minecraft (now i don't do that anymore). There was a mod called Sonic Ether's Unbelievable Shaders. It added nice shaders to the game.
Is there a mod like this or can somebody make one?
Here a pic of it in Minecraft:


Posted:
Fri Jan 04, 2013 12:28
by LorenzoVulcan
There is an alpha repo for GLSL shaders in github.

Posted:
Fri Jan 04, 2013 12:29
by PilzAdam
You cant do such mods in Minetest because unlike Minecraft mods in Minetest dont change the engines code.

Posted:
Fri Jan 04, 2013 12:30
by LorenzoVulcan
PilzAdam wrote:You cant do such mods in Minetest because unlike Minecraft mods in Minetest dont change the engines code.
You can code them in C++.

Posted:
Fri Jan 04, 2013 12:32
by PilzAdam
LorenzoVulcan wrote:PilzAdam wrote:You cant do such mods in Minetest because unlike Minecraft mods in Minetest dont change the engines code.
You can code them in C++.
1st: No, Minetests shaders are written in GLSL and only a few pointers are done in the c++ code.
2nd: I am talking about mods. Minetests mods are written in Lua and use an API provided by the engine. What you are talking about are engine patches.

Posted:
Fri Jan 04, 2013 13:37
by Jeija
Check out my branch on GitHub for experimental water wave shaders:
https://github.com/Jeija/minetest/tree/shader_playground

Posted:
Wed Feb 06, 2013 16:33
by KingSmarty
Could you please compile it? That would make it a lot easier.
Thx

Posted:
Wed Feb 06, 2013 18:38
by Jeija
I can only compile for Archlinux or Ubuntu, ask PilzAdam or sfan5 for windows.

Posted:
Wed Feb 06, 2013 19:09
by PilzAdam
Jeija wrote:I can only compile for Archlinux or Ubuntu, ask PilzAdam or sfan5 for windows.
Done:
http://ompldr.org/vaGRrZQ/minetest-0.4.4-14a38b1-shader-win32.zip

Posted:
Thu Feb 07, 2013 01:00
by KingSmarty

Posted:
Thu Feb 07, 2013 12:17
by KingSmarty
Jeija your game crashes at startup ! There only pops up a window that is saying:
The ordinal 72 could not be located in the dynamic link library and then the path were i saved the game

Posted:
Thu Feb 07, 2013 13:18
by Traxie21
That has something to do with a dll missing, try to download the dll in the error from
http://dll-files.com

Posted:
Thu Feb 07, 2013 16:08
by PilzAdam
KingSmarty wrote:Jeija your game crashes at startup ! There only pops up a window that is saying:
The ordinal 72 could not be located in the dynamic link library and then the path were i saved the game
That is a problem of the windows build.
Download libcurl.dll from dll-files.com and replace the one in the bin/ folder.

Posted:
Sat Jun 29, 2013 05:06
by hampa16
KingSmarty wrote:Hi,
before i played Minetest i played Minecraft (now i don't do that anymore). There was a mod called Sonic Ether's Unbelievable Shaders. It added nice shaders to the game.
Is there a mod like this or can somebody make one?
Here a pic of it in Minecraft:

theres an option to turn them on in minetest versions 0.4.7, 0.4.6, and 0.4.5

Posted:
Sat Jun 29, 2013 11:08
by PilzAdam
hampa16 wrote:theres an option to turn them on in minetest versions 0.4.7, 0.4.6, and 0.4.5
Have you read the other posts?

Posted:
Mon Jul 15, 2013 19:47
by AndrOn
Jeija, is it only me or your minetest only adds waves to water? (which is cool already)

Posted:
Mon Jul 15, 2013 19:48
by Jordach
AndrOn wrote:Jeija, is it only me or your minetest only adds waves to water? (which is cool already)
Jeija's shader playground does add wavy water. Nothing else though, as we haven't got more than one render pass yet. Which is truthfully, a horrible shame. Although one day we will get this. Honest.

Posted:
Fri Jul 19, 2013 08:14
by AndrOn
Ok just waiting ^^ I already improved my shaders to make the dark more blue (the code was already there I just changed some figures) and the torches more yellow (idem) and it adds a lot of magic to the game so I think a good use of shaders could really add something!

Posted:
Sat Jan 25, 2014 21:24
by gsmanners
Bump.
I like the ideas here, and I'd love to get some directional ambients going in my game. If I can figure out how to do that properly.

Posted:
Sat Jan 25, 2014 22:15
by Krock
A thing which I miss in MT are the shadows, when the sun moves, they should change.
Or is this already part of the shaders? (never tested, cuz of low fps)

Posted:
Sun Jan 26, 2014 00:45
by hoodedice
Shadows are currently not in the current version of Minetest, though I don't see why they shouldn't (apart from lag).

Posted:
Sun Feb 02, 2014 09:29
by issa
where i can get that please ?

Posted:
Sun Feb 02, 2014 10:44
by Krock
PilzAdam wrote:You cant do such mods in Minetest because unlike Minecraft mods in Minetest dont change the engines code.
Jordach wrote:Jeija's shader playground does add wavy water. Nothing else though, as we haven't got more than one render pass yet.
issa wrote:where i can get that please ?
*headdesks*

Posted:
Sun Feb 02, 2014 15:08
by rubenwardy
os.execute is for shell/bash commands.
like
$ mkdir directory/
not for running c++ code. However, you could start an exe from it.

Posted:
Tue Feb 04, 2014 19:49
by sfan5
Hybrid Dog wrote:rubenwardy wrote:os.execute is for shell/bash commands.
like
$ mkdir directory/
not for running c++ code. However, you could start an exe from it.
you could run a compiled c++ code or even compile it
Yeah, but if you run a program (c++ or not) with os.execute it won't run in the minetest application and won't be able to do anything.

Posted:
Tue Feb 18, 2014 17:55
by sfan5
Hybrid Dog wrote:sfan5 wrote:Hybrid Dog wrote:you could run a compiled c++ code or even compile it
Yeah, but if you run a program (c++ or not) with os.execute it won't run in the minetest application and won't be able to do anything.
I think there are possibilities.
Like attaching to the minetest process and inserting code from another process?
Hell, that would not even work with different builds like BlockMen's, Fess or mine (even with the same commit)
Re: Shader Mod for Minetest

Posted:
Sat Jun 28, 2014 23:19
by Zombie461
What? You quit Minecraft for Minetest?
Minetest is a good game but who quits Minecraft for Minetest? o.o
Re: Shader Mod for Minetest

Posted:
Sun Jun 29, 2014 01:00
by Evergreen
Zombie461 wrote:What? You quit Minecraft for Minetest?
Minetest is a good game but who quits Minecraft for Minetest? o.o
Please don't bump old (?) topics. I think there is a discussion like this elsewhere which is similar.