GLSL Shaders
- RealBadAngel
- Member
- Posts: 557
- Joined: Wed Jul 18, 2012 16:30
GLSL Shaders
Here goes my repo with rework of shaders architecture and some new effects:
-improved Bumpmapping
-Parallax mapping
-Steep Parallax mapping
-water surface shaders (no reflections and refraction yet)
https://github.com/RealBadAngel/minetest/
Latest windows build with it:
http://realbadangel.pl/minetest/shaders ... haders.zip
Testers. opinions, help.... are welcome
Settings are now aviable in main menu.
Parallax mapping requires normal map file with height in alpha channel.
To prepare such file you can use GIMP (linux/windows) and normalmap plugin or CrazyBump http://www.crazybump.com (windows).
Haven texture pack have most of default textures done with normalmaps.
Little teaser:
-improved Bumpmapping
-Parallax mapping
-Steep Parallax mapping
-water surface shaders (no reflections and refraction yet)
https://github.com/RealBadAngel/minetest/
Latest windows build with it:
http://realbadangel.pl/minetest/shaders ... haders.zip
Testers. opinions, help.... are welcome
Settings are now aviable in main menu.
Parallax mapping requires normal map file with height in alpha channel.
To prepare such file you can use GIMP (linux/windows) and normalmap plugin or CrazyBump http://www.crazybump.com (windows).
Haven texture pack have most of default textures done with normalmaps.
Little teaser:
- Attachments
-
- terraintest.zip
- (10.71 MiB) Downloaded 712 times
Last edited by RealBadAngel on Wed Nov 27, 2013 07:24, edited 1 time in total.
- Dan Duncombe
- Member
- Posts: 904
- Joined: Thu May 09, 2013 21:11
- Location: In the unknown depths of Earth
I assume we will still be able to disable shaders? My computer can't cope with them.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.
My Games: Nostalgia Realtest Revamped
Servers: See above games.
I would like to test these shaders, but I must know where to install them.
It looks like a build would have to be made of this. Fess might be interested.
It looks like a build would have to be made of this. Fess might be interested.
Last edited by Inocudom on Wed Oct 30, 2013 17:02, edited 1 time in total.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- rubenwardy
- Moderator
- Posts: 6978
- Joined: Tue Jun 12, 2012 18:11
- GitHub: rubenwardy
- IRC: rubenwardy
- In-game: rubenwardy
- Location: Bristol, United Kingdom
- Contact:
Nice.
If a client api is added, a function like this could be added:
If a client api is added, a function like this could be added:
Code: Select all
engine.register_shader( "mat_node_1", {
{"shader.hlsl","edriver_shader_vert","main_vert"}
})
It looks like you might want to post your minetest_game fork too, RealBadAngel.
It looks like you are using your Haven texture pack there.
It looks like you are using your Haven texture pack there.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Oh god this is annyoing. Cant you just fork the repo and create a branch like everyone else?
Btw, with what settings to you enable the new shaders?
Btw, with what settings to you enable the new shaders?
Last edited by PilzAdam on Wed Oct 30, 2013 18:24, edited 1 time in total.
Sfan5 made a build of this fork and I am testing it. What settings do I need to turn on in order to enable the new shaders?PilzAdam wrote:Oh god this is annyoing. Cant you just fork the repo and create a branch like everyone else?
Btw, with what settings to you enable the new shaders?
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- RealBadAngel
- Member
- Posts: 557
- Joined: Wed Jul 18, 2012 16:30
Im not using branches because i cant fully control files on my hdd with them.PilzAdam wrote:Oh god this is annyoing. Cant you just fork the repo and create a branch like everyone else?
Btw, with what settings to you enable the new shaders?
I dont like the idea of something apearin and disapering like rabbit pulled out of the hat.
So, no branches, sorry Winnetou.
About settings i will edit now 1st post and add some explanations.
Last edited by RealBadAngel on Wed Oct 30, 2013 22:26, edited 1 time in total.
-
- Member
- Posts: 4534
- Joined: Mon Oct 03, 2011 17:58
- GitHub: Jordach
- IRC: Jordach
- In-game: Jordach
- Location: Blender Scene
If you looked closely, there's a magical .git folder with all your branches and files inside, nothing is lost!RealBadAngel wrote:Im not using branches because i cant fully control files on my hdd with them.PilzAdam wrote:Oh god this is annyoing. Cant you just fork the repo and create a branch like everyone else?
Btw, with what settings to you enable the new shaders?
I dont like the idea of something apearin and disapering like rabbit pulled out of the hat.
So, no branches, sorry Winnetou.
About settings i will edit now 1st post and add some explanations.
Someone that is skilled in understanding Minetest's code might be able to look in the repository of this fork and find out what commands must be entered into the minetest.config file in order for parallax mapping to work.
With bump mapping turned on, the blocks still do appear to be black in the inventory.
With bump mapping turned on, the blocks still do appear to be black in the inventory.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
It would be simple to find that in the diff, but since RBA hasnt pushed it to a fork of the original Minetest repo its hard to get the diff.Inocudom wrote:Someone that is skilled in understanding Minetest's code might be able to look in the repository of this fork and find out what commands must be entered into the minetest.config file in order for parallax mapping to work.
With bump mapping turned on, the blocks still do appear to be black in the inventory.
-
- Moderator
- Posts: 4095
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
ehm...PilzAdam wrote:It would be simple to find that in the diff, but since RBA hasnt pushed it to a fork of the original Minetest repo its hard to get the diff.Inocudom wrote:Someone that is skilled in understanding Minetest's code might be able to look in the repository of this fork and find out what commands must be entered into the minetest.config file in order for parallax mapping to work.
With bump mapping turned on, the blocks still do appear to be black in the inventory.
Code: Select all
$ cd minetest
$ git remote add rba https://github.com/RealBadAngel/minetest_GLSLshaders.git
$ git fetch rba
$ git diff origin/master rba/master
Last edited by sfan5 on Thu Oct 31, 2013 17:44, edited 1 time in total.
- PilzAdam
- Member
- Posts: 4026
- Joined: Fri Jul 20, 2012 16:19
- GitHub: PilzAdam
- IRC: PilzAdam
- Location: Germany
Sure, and when I switch the branch I have to recompile Minetest completly because they dont have the same history (so git overrides each file and they get a new timestamp).sfan5 wrote:ehm...PilzAdam wrote:It would be simple to find that in the diff, but since RBA hasnt pushed it to a fork of the original Minetest repo its hard to get the diff.Inocudom wrote:Someone that is skilled in understanding Minetest's code might be able to look in the repository of this fork and find out what commands must be entered into the minetest.config file in order for parallax mapping to work.
With bump mapping turned on, the blocks still do appear to be black in the inventory.Anyway, I can't find any shaders in the diff produced by that only, moon/sun stuffCode: Select all
$ cd minetest $ git remote add rba https://github.com/RealBadAngel/minetest_GLSLshaders.git $ git fetch rba $ git diff origin/master rba/master
So this could mean that the shaders are not in sfan5's build of this branch?
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- RealBadAngel
- Member
- Posts: 557
- Joined: Wed Jul 18, 2012 16:30
According to the commit history of the repo, some changes were made recently. You might want to make a new build of the fork, sfan5.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
Sadly this does not work for me. The client of course runs, but standing water is just a greyish mass with dark, flickering pixels all over. :-( The sun/moon are right, at least.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
What about the parallax mapping? Did you get it to work? What commands did you have to type into your minetest.conf file?VanessaE wrote:Sadly this does not work for me. The client of course runs, but standing water is just a greyish mass with dark, flickering pixels all over. :-( The sun/moon are right, at least.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- VanessaE
- Moderator
- Posts: 4655
- Joined: Sun Apr 01, 2012 12:38
- GitHub: VanessaE
- IRC: VanessaE
- In-game: VanessaE
- Location: Western NC
- Contact:
No, not as yet.
You might like some of my stuff: Plantlife ~ More Trees ~ Home Decor ~ Pipeworks ~ HDX Textures (64-512px)
It appears that enable_parallaxmapping is the command that affects parallax mapping. 0 must mean that it is off, 1 must mean that it is in normal mode, and 2 must mean that it is in enhanced mode.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
viewtopic.php?pid=116608#p116608
The above link leads to a new build that sfan5 made of this fork.
I tested the build and found the improvements to bump mapping to be a very welcoming sight (no more black cubes in the inventory.)
It looks like the water shaders don't quite work yet. Same issue as VanessaE got.
Parallax mapping appears to distort some of the features of the textures that use it.
The above link leads to a new build that sfan5 made of this fork.
I tested the build and found the improvements to bump mapping to be a very welcoming sight (no more black cubes in the inventory.)
It looks like the water shaders don't quite work yet. Same issue as VanessaE got.
Parallax mapping appears to distort some of the features of the textures that use it.
Last edited by Inocudom on Fri Nov 01, 2013 16:12, edited 1 time in total.
[BitChute: https://www.bitchute.com/channel/fCcBQxrYQjNX/] [Rumble: https://rumble.com/user/HPoorHMagentaHChildH]
- hoodedice
- Member
- Posts: 1374
- Joined: Sat Jul 06, 2013 06:33
- GitHub: hoodedice
- IRC: hoodedice
- In-game: hoodedice
- Location: world
- Contact:
For me, I get it all red. (Using sfan's build posted above.) Windows x86 XP with intel GMA
7:42 PM - Bauglio: I think if you go to staples you could steal firmware from a fax machine that would run better than win10 does on any platform
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
7:42 PM - Bauglio: so fudge the stable build
7:43 PM - Bauglio: get the staple build
Who is online
Users browsing this forum: No registered users and 14 guests