Is shaders will be implemented

davidforsure!!!
Member
 
Posts: 72
Joined: Fri Oct 25, 2013 09:02

Is shaders will be implemented

by davidforsure!!! » Tue May 06, 2014 12:54

So i saw a mod called SHADOWS that adds nice shadow in the game. its just like shaders but more unrealistic but its works fine.....so the point is can anyone make a shaders mod just like SEUS (sonic ethers unbelieveable shaders) is that possible?
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Is shaders will be implemented

by Calinou » Tue May 06, 2014 21:10

This is likely possible, but demanding on the hardware and not easy to implement.

Improving graphics is easier done by enabling anti-aliasing, add this line in minetest.conf:

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
fsaa = 4
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Is shaders will be implemented

by philipbenr » Tue May 06, 2014 23:24

I think that just shadows would be nice. SEUS would be harder on some people's computers. Still, like I said with mobs, that is why we have a settings tab...

;P

It would also take a lot of commitment... I think that making the shadows alone would be amazing, and shows that our devs really take time to make Minetest awesome.
 

davidforsure!!!
Member
 
Posts: 72
Joined: Fri Oct 25, 2013 09:02

Re: Is shaders will be implemented

by davidforsure!!! » Wed May 07, 2014 00:46

I hope this is possible...we got some excelent modders like pilz adam,realbadangel,blockmen. and some that i Dind't mention....so lets just hope for the best (LOL sounds like its real important)
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Is shaders will be implemented

by sfan5 » Wed May 07, 2014 14:14

davidforsure!!! wrote:we got some excelent modders like pilz adam,realbadangel,blockmen.

(Except RealBadAngel) I know of no modders that know how to use GLSL.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Is shaders will be implemented

by philipbenr » Wed May 07, 2014 14:19

@sfan5: You have to be able to know where the sun/moon is at the time of day/night to make shadows in the first place... I think you are capable of that?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Is shaders will be implemented

by rubenwardy » Wed May 07, 2014 17:02

GLSL is quite confusing for me.
 

User avatar
sfan5
Member
 
Posts: 3636
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5

Re: Is shaders will be implemented

by sfan5 » Wed May 07, 2014 17:51

philipbenr wrote:@sfan5: You have to be able to know where the sun/moon is at the time of day/night to make shadows in the first place... I think you are capable of that?

That is not hard, but whole way shadows are computed, stored & displayed is not that easy to get right.
GLSL isn't like C where you can google something and throw it into your project.
Mods: Mesecons | WorldEdit | Nuke
Minetest builds for Windows (32-bit & 64-bit)
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Is shaders will be implemented

by philipbenr » Wed May 07, 2014 21:18

sfan5 wrote:
philipbenr wrote:@sfan5: You have to be able to know where the sun/moon is at the time of day/night to make shadows in the first place... I think you are capable of that?

That is not hard, but whole way shadows are computed, stored & displayed is not that easy to get right.
GLSL isn't like C where you can google something and throw it into your project.


I have to say, that made me laugh. :)

Also, and this is from experience, the little bits help a lot... I would just write something up that says where the sun/moon is in the sky. I really haven't looked in to how position is expressed, but give a sort of value that can be used to determine shadow length.

Again, I don't know how hard that would be, but it's a start...
 

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

Re: Is shaders will be implemented

by PilzAdam » Wed May 07, 2014 21:35

You can't just write something in GLSL to make every graphical feature you want. GLSL is used to modify a part of the rendering pipeline. You need to supply the required data from the core code.
E.g. to do dynamic shadows you need several rendering steps, which can only be done in the engine code.

sfan5 wrote:
davidforsure!!! wrote:we got some excelent modders like pilz adam,realbadangel,blockmen.

(Except RealBadAngel) I know of no modders that know how to use GLSL.

I know how to use GLSL (I wrote a small voxel based 3D engine with OpenGL; you pretty much need to use GLSL to do that properly).
 

User avatar
philipbenr
Member
 
Posts: 1665
Joined: Fri Jun 14, 2013 01:56
GitHub: philipbenr
IRC: philipbenr
In-game: WisdomFire or philipbenr

Re: Is shaders will be implemented

by philipbenr » Thu May 08, 2014 03:36

@PilzAdam: Thanks. I had no idea how GLSL works. It is nice to have that cleared up.

So I guess I was wrong in my statements above. I hope that MT will have dynamic shadows sooner or later... It would really enhance gameplay.
 

User avatar
Calinou
Member
 
Posts: 3124
Joined: Mon Aug 01, 2011 14:26
GitHub: Calinou
IRC: Calinou
In-game: Calinou

Re: Is shaders will be implemented

by Calinou » Fri May 09, 2014 19:28

Discussion about usage of OpenCL in Minetest moved.

Please reply in the topic above for all things OpenCL-related.
 


Return to Minetest Features

Who is online

Users browsing this forum: No registered users and 5 guests

cron