GLSL Shaders

User avatar
Mgdie
Member
 
Posts: 25
Joined: Sun Dec 09, 2012 22:03
Location: Colombia, Huila

GLSL Shaders

by Mgdie » Sun Dec 09, 2012 22:09

Image
Image

https://www.youtube.com/watch?v=FlS6i4aJZ58
Minecraft looks really good with these stuff but it only works in 0.01 % of minecraft players because you need hellalot power.

So i thought if this is possible on minetest the performance gain due to native code would be greater making the game look better without a performance loss. ;D
Last edited by Mgdie on Sun Dec 09, 2012 22:53, edited 1 time in total.
 

leo_rockway
Member
 
Posts: 196
Joined: Tue Jul 31, 2012 20:37

by leo_rockway » Mon Dec 10, 2012 02:23

This does look great.
Try Skyblock for MineClone 2
Listen to this sound and music pack!
 

User avatar
MirceaKitsune
Member
 
Posts: 856
Joined: Sat May 21, 2011 22:31
Location: Romania, Bucharest
GitHub: MirceaKitsune
IRC: Taoki
In-game: MirceaKitsune

by MirceaKitsune » Mon Dec 10, 2012 10:53

That looks very beautiful! Anyway yes, it is possible in MineTest with shaders as far as I know. But we need someone to implement a second render pass for shaders, like celeron55 explained. Once that's in this should be very doable, and totally needs to happen.
 

User avatar
dannydark
Member
 
Posts: 428
Joined: Fri Aug 12, 2011 21:28
Location: Manchester, UK

by dannydark » Mon Dec 10, 2012 14:01

Yeah like MirceaKitsune said a second render pass is needed for some shaders (like depth-of-field etc)
 

User avatar
Mgdie
Member
 
Posts: 25
Joined: Sun Dec 09, 2012 22:03
Location: Colombia, Huila

by Mgdie » Sat Feb 02, 2013 03:20

soooo... any word?
 

User avatar
sfan5
Moderator
 
Posts: 3817
Joined: Wed Aug 24, 2011 09:44
Location: Germany
GitHub: sfan5
IRC: sfan5

by sfan5 » Sat Feb 02, 2013 08:33

Mgdie wrote:Minecraft looks really good with these stuff but it only works in 0.01 % of minecraft players because you need hellalot power.

It works for the most people, but It doesn't have good performance. Thats a difference.
Mgdie wrote:So i thought if this is possible on minetest the performance gain due to native code would be greater making the game look better without a performance loss. ;D

GLSL compiles Shaders to native code that can run on GPUs, it doesn't matter if the game itself if written in c++ or java.
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
Calinou
Moderator
 
Posts: 3157
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Feb 02, 2013 12:18

sfan5 wrote:GLSL compiles Shaders to native code that can run on GPUs, it doesn't matter if the game itself if written in c++ or java.


The programming language matters a lot. The GLSL shaders mod on Minecraft are very slow for me, but the GLSL shaders on Minetest are much faster.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sat Feb 02, 2013 12:24

Calinou wrote:
sfan5 wrote:GLSL compiles Shaders to native code that can run on GPUs, it doesn't matter if the game itself if written in c++ or java.


The programming language matters a lot. The GLSL shaders mod on Minecraft are very slow for me, but the GLSL shaders on Minetest are much faster.

wait. what minetest shaders?
 

doserj
Member
 
Posts: 10
Joined: Mon Dec 10, 2012 15:05

by doserj » Sat Feb 02, 2013 12:40

Calinou wrote:The programming language matters a lot.


It doesn't

The GLSL shaders mod on Minecraft are very slow for me, but the GLSL shaders on Minetest are much faster.


That's because the shaders in minetest barely do anything, compared to the shader mods for minecraft.
 

User avatar
PilzAdam
Member
 
Posts: 4026
Joined: Fri Jul 20, 2012 16:19
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Sat Feb 02, 2013 13:36

Mito551 wrote:
Calinou wrote:
sfan5 wrote:GLSL compiles Shaders to natice code that can run on GPUs, it doesn't matter if the game itself if written in c++ or java.


The programming language matters a lot. The GLSL shaders mod on Minecraft are very slow for me, but the GLSL shaders on Minetest are much faster.

wait. what minetest shaders?

Minetest 0.4.4 has some (test-) shaders.
 

User avatar
Mito551
Member
 
Posts: 1271
Joined: Sat Jun 16, 2012 15:03

by Mito551 » Sat Feb 02, 2013 15:51

yes. that's what i thought. but it's inappropraite comparing these shaders and shaders of the top post.
 

User avatar
Calinou
Moderator
 
Posts: 3157
Joined: Mon Aug 01, 2011 14:26
Location: Troyes, France
GitHub: Calinou
IRC: Calinou
In-game: Calinou

by Calinou » Sat Feb 02, 2013 17:53

Mito551 wrote:yes. that's what i thought. but it's inappropraite comparing these shaders and shaders of the top post.


The shaders I used on Minecraft were depth of field, world curvature and parallax/normal/specular maps AFAIK (with a 256×256 texture pack). So that's probably why it's slower, nevermind then. ;)
 

User avatar
burli
Member
 
Posts: 1641
Joined: Fri Apr 10, 2015 13:18

Re: GLSL Shaders

by burli » Fri Apr 01, 2016 11:31

Is there any progress on this? Would be awesome to see something similar in minetest
 

issa
Member
 
Posts: 121
Joined: Wed Apr 03, 2013 19:01

Re: GLSL Shaders

by issa » Fri Apr 01, 2016 13:47

look cool, hope will be integrated on minetest :)
 

User avatar
MineYoshi
Member
 
Posts: 5371
Joined: Wed Jul 08, 2015 13:20

Re: GLSL Shaders

by MineYoshi » Fri Apr 01, 2016 20:45

i will like that the GLSL Shaders be optional, some people here doesn't have so good computers!
Will look great, the actually shaders of 0.4.13 in really are very good!
we only need a better sun light shader!
And make the leaves a bit more soft!

(A random joke: -i have windows 10, what you think?
-i have a better one!
-But if Windows 10 is the last version!
-Nope, i have Windows 97, 87 version actualized!)
 

issa
Member
 
Posts: 121
Joined: Wed Apr 03, 2013 19:01

Re: GLSL Shaders

by issa » Sun Apr 03, 2016 09:15

sorry but with this screns and the screens like u see up :



i defintly prefer the up :

so i realy want see shaders in minetest

Edit : in the past i think someone make a shaders version of minetest, because minetest using Irlich framwork, and on this frmawork u have some module u can activate to add futurs to the engine, or edit source code to add more réalistics on the engine see this :

or this : :

http://irrlicht.sourceforge.net/forum/v ... =6&t=23453


Look this game using the same engine of minetest :

http://irrlicht.sourceforge.net/forum/v ... =6&t=48105

look really cool

Image

[img]
http://www.sodan.dk/irr02.jpg[/img]


Image
 

User avatar
MineYoshi
Member
 
Posts: 5371
Joined: Wed Jul 08, 2015 13:20

Re: GLSL Shaders

by MineYoshi » Sun Apr 03, 2016 23:56

i think that c55 don't implement that graphics because the idea of Minetest is make a reliable game with good performance!
That shaders make the game very "nice" and "beauty"!

But it needs many computer hardware!

If the devs do a add-on to the engine, that you can install, if you think your pc is fast!
but anyways is better polish performance and in-game experience!
 

Sick-D!!
Member
 
Posts: 25
Joined: Mon Jan 12, 2015 15:36
GitHub: Sick-D
IRC: Sick-D
In-game: Sick-D

Re: GLSL Shaders

by Sick-D!! » Mon Apr 11, 2016 21:45

MineYoshi wrote:i think that c55 don't implement that graphics because the idea of Minetest is make a reliable game with good performance!
That shaders make the game very "nice" and "beauty"!

But it needs many computer hardware!

If the devs do a add-on to the engine, that you can install, if you think your pc is fast!
but anyways is better polish performance and in-game experience!



Maybe you're right... but it looks damn amazing anyways ...

i use minecraft shaders when i play mc ... i miss sth like that for minetest...

What about doing it as a mod or so? Would that be possible??
Irrlicht IS powerful... we know all... but how Complicated is this?
Some Videos in German?
https://www.youtube.com/user/SickDDubstep
Or Livestreams?
http://www.twitch.tv/sick_d

Bye bye ;)
 

User avatar
MineYoshi
Member
 
Posts: 5371
Joined: Wed Jul 08, 2015 13:20

Re: GLSL Shaders

by MineYoshi » Mon Apr 11, 2016 22:04

Sick-D!! wrote:
MineYoshi wrote:i think that c55 don't implement that graphics because the idea of Minetest is make a reliable game with good performance!
That shaders make the game very "nice" and "beauty"!

But it needs many computer hardware!

If the devs do a add-on to the engine, that you can install, if you think your pc is fast!
but anyways is better polish performance and in-game experience!



Maybe you're right... but it looks damn amazing anyways ...

i use minecraft shaders when i play mc ... i miss sth like that for minetest...

What about doing it as a mod or so? Would that be possible??
Irrlicht IS powerful... we know all... but how Complicated is this?


Actually we only need "Fancy Lightning" Minetest have very nice shaders, as the moving leaves, or the cool water too!
Minetest only need to upgrade the sun light, or fancy lightning, i like the Minetest Shaders, and they are cool, only is about add 1 thing more to make Minetest look so "realistic"...
 

User avatar
benrob0329
Member
 
Posts: 1313
Joined: Thu Aug 06, 2015 22:39
Location: Michigan
GitHub: Benrob0329
IRC: benrob0329
In-game: benrob03

Re: GLSL Shaders

by benrob0329 » Mon Apr 11, 2016 22:58

I say that anyone wanting to take a stab at making shaders should do it, and post the replacement files for everyone to test.

I personally like the current style of shadows, the sun just needs to be seen as a light source (the moon is ok as is, as there aren't many shadows at night)
Social: YouTube Peertube Matrix Room: #minetest:matrix.org | Games: The Infinite IKEA
 

User avatar
MineYoshi
Member
 
Posts: 5371
Joined: Wed Jul 08, 2015 13:20

Re: GLSL Shaders

by MineYoshi » Mon Apr 11, 2016 23:16

benrob0329 wrote:I say that anyone wanting to take a stab at making shaders should do it, and post the replacement files for everyone to test.

I personally like the current style of shadows, the sun just needs to be seen as a light source (the moon is ok as is, as there aren't many shadows at night)


+100!
 

Thomas-S
Member
 
Posts: 109
Joined: Sun Sep 06, 2015 12:23
Location: Bavaria, Germany
GitHub: Thomas--S
IRC: Thomas-S
In-game: Thomas-S

Re: GLSL Shaders

by Thomas-S » Tue Apr 12, 2016 17:04

Additionally, smooth lightening for nodeboxes would be really good.
 

User avatar
TumeniNodes
Member
 
Posts: 2827
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: GLSL Shaders

by TumeniNodes » Wed Apr 13, 2016 16:24

Yes, Irrlicht does have many features regarding shaders, it is just a bit difficult finding really good example or explanation documentation on how to implement them.
I have downloaded a couple of glsl water shader scripts and trying to find documentation on getting them to work ingame, what is needs what are the important lines of code, etc...., not so easily nor readily found. (well, at least not for me) "Dammit Jim..., I'm an artist, not a coder!"
It's funny because, you find a little info, and do some typing, start the game and have your fingers crossed that it works like a little kid haha...
I have only got as far as to get a water shader to actually not cause an error on loading..., but only to learn it was simply because I added a blank init.lua file... but nothing more happened as I have no idea what script is needed to point what to where, or when : /
But..., I keep plugging away. If I ever get something to work Im gonna dance naked around the fire pit in my back yard, because I will be able to share it with the community..., but if I do get something to work it will be only due to pure luck with zero attributed knowledge of wth I did :D
glsl shaders will be great but, will not work for everyone. and any shaders suck performance down.
I still feel the best approach is looking more toward focusing on tweaking actual graphic images and files amap and not relying fully upon numerous shaders
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

User avatar
MineYoshi
Member
 
Posts: 5371
Joined: Wed Jul 08, 2015 13:20

Re: GLSL Shaders

by MineYoshi » Wed Apr 13, 2016 19:59

thegreatone wrote:Yes, Irrlicht does have many features regarding shaders, it is just a bit difficult finding really good example or explanation documentation on how to implement them.
I have downloaded a couple of glsl water shader scripts and trying to find documentation on getting them to work ingame, what is needs what are the important lines of code, etc...., not so easily nor readily found. (well, at least not for me) "Dammit Jim..., I'm an artist, not a coder!"
It's funny because, you find a little info, and do some typing, start the game and have your fingers crossed that it works like a little kid haha...
I have only got as far as to get a water shader to actually not cause an error on loading..., but only to learn it was simply because I added a blank init.lua file... but nothing more happened as I have no idea what script is needed to point what to where, or when : /
But..., I keep plugging away. If I ever get something to work Im gonna dance naked around the fire pit in my back yard, because I will be able to share it with the community..., but if I do get something to work it will be only due to pure luck with zero attributed knowledge of wth I did :D
glsl shaders will be great but, will not work for everyone. and any shaders suck performance down.
I still feel the best approach is looking more toward focusing on tweaking actual graphic images and files amap and not relying fully upon numerous shaders


...
You're right, the GLSL Shaders make the game the game don't have the enough performance!
 

User avatar
TumeniNodes
Member
 
Posts: 2827
Joined: Fri Feb 26, 2016 19:49
Location: in the dark recesses of the mind
GitHub: TumeniNodes
IRC: tumeninodes
In-game: TumeniNodes

Re: GLSL Shaders

by TumeniNodes » Thu Apr 14, 2016 21:17

There is a package I found titled LuaGL https://github.com/FelipeFS/luagl which seems to supply pre-written scripts for enabling user config for openGL which I am going to try to play around with but, I think it also requires some C++ work to link LuaGL and openGL features (which scares me :D)
So not to sure how far I could get with it, as I am just learning Lua as it is. Not sure if there is anyone else interested in trying it out? But I am just adding some links just in case.
http://luagl.wikidot.com/howto
Mind you, this is completely bypassing any and all shading via irrlicht <(which is actually the way it should be done, meaning using shading features of irrlicht) by using openGL features which most definitely will not work for everyone and I am unsure which rout of implementing shaders is more likely to create some significant lag?
Ich mag keine grünen Eier und Schinken, ich mag sie nicht Sam I Am
 

Next

Return to Feature Discussion



Who is online

Users browsing this forum: No registered users and 2 guests