Trying to implement Shadow Mapping
- v-rob
- Developer
- Posts: 971
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: Trying to implement Shadow Mapping
Say, do you have the code online anywhere? I found https://github.com/0xLiso/minetest-shadowmap, but it looks a little outdated. I would love to try out those colored shadows with my stained glass mod; I think it would look simply amazing.
-
- Member
- Posts: 33
- Joined: Thu Feb 06, 2020 10:21
- GitHub: 0xLiso
- In-game: Liso
- Location: Valencia - Spain.
- Contact:
Re: Trying to implement Shadow Mapping
Yes, it's in that repo, branch "PSM"v-rob wrote: ↑Thu Apr 15, 2021 22:24Say, do you have the code online anywhere? I found https://github.com/0xLiso/minetest-shadowmap, but it looks a little outdated. I would love to try out those colored shadows with my stained glass mod; I think it would look simply amazing.
philipbenr wrote: ↑Thu Apr 15, 2021 20:26Very nice looking indeed. How does it work if you stack one behind or on top of another? ;)
Do you think that variable opacity of an element is going to be a problem?
I think it should work without problem
Liso. - My twitter -
Re: Trying to implement Shadow Mapping
Hi, it is cool!
Can anybody compile it for windows 64bit please?
Can anybody compile it for windows 64bit please?
Re: Trying to implement Shadow Mapping
a win build would be great.
-
- Member
- Posts: 33
- Joined: Thu Feb 06, 2020 10:21
- GitHub: 0xLiso
- In-game: Liso
- Location: Valencia - Spain.
- Contact:
Re: Trying to implement Shadow Mapping
Sorry, but this is under heavy testing&development.There are changes almost every day, so if you want to test it, you should compile it from the PR.
- Attachments
-
- ex2.jpg (228.45 KiB) Viewed 2899 times
-
- ex3.png (451.58 KiB) Viewed 2899 times
-
- ex4.png (446.01 KiB) Viewed 2899 times
Liso. - My twitter -
Re: Trying to implement Shadow Mapping
Beautiful screenshots!
Sadly, I have no experience in compiling.
Sadly, I have no experience in compiling.
-
- Moderator
- Posts: 4095
- Joined: Wed Aug 24, 2011 09:44
- GitHub: sfan5
- IRC: sfan5
- Location: Germany
Re: Trying to implement Shadow Mapping
Someone requested a Windows build of the current state of this PR
Here's it: https://kitsunemimi.pw/tmp/minetest-5.5 ... 4-win64.7z
Briefly tested it to make sure it works and I'm very impressed with your work, thanks for doing this Liso.
Here's it: https://kitsunemimi.pw/tmp/minetest-5.5 ... 4-win64.7z
Briefly tested it to make sure it works and I'm very impressed with your work, thanks for doing this Liso.
Last edited by sfan5 on Thu May 27, 2021 17:34, edited 1 time in total.
Reason: Replaced with new build
Reason: Replaced with new build
Re: Trying to implement Shadow Mapping
THANK YOU sfan5 for Windows build!
THANK YOU Liso!
It is amazing!
Thank you!
THANK YOU Liso!
It is amazing!
Thank you!
Re: Trying to implement Shadow Mapping
Colored shadows through rock underground...
https://pasteimg.com/image/ciKeC
https://pasteimg.com/image/ciKeC
-
- Member
- Posts: 1482
- Joined: Fri Apr 19, 2013 16:19
- GitHub: twoelk
- IRC: twoelk
- In-game: twoelk
- Location: northern Germany
Re: Trying to implement Shadow Mapping
cobble seen from underneath and sheep walking around seem somewhat dark
- freshreplicant
- Member
- Posts: 228
- Joined: Sun Aug 09, 2020 10:37
- In-game: freshreplicant
Re: Trying to implement Shadow Mapping
Liso, I've been following your PR very closely. Very, very impressive. Minetest looks like a whole new game/engine. Thanks for taking the time to work on this and for being so responsive to feedback. Do you have an existing way to donate to you in case we want to send something your way once/if it gets merged?
-
- Member
- Posts: 33
- Joined: Thu Feb 06, 2020 10:21
- GitHub: 0xLiso
- In-game: Liso
- Location: Valencia - Spain.
- Contact:
Re: Trying to implement Shadow Mapping
Thank you for all your comments and support.
The last versions fix most of the glitches .
The last versions fix most of the glitches .
No i don't have any of that but I appreciate your offer. I just do this in my spare time just for the community and to learn something new :).freshreplicant wrote: ↑Sat May 22, 2021 14:41Do you have an existing way to donate to you in case we want to send something your way once/if it gets merged?
Liso. - My twitter -
-
- Member
- Posts: 1482
- Joined: Fri Apr 19, 2013 16:19
- GitHub: twoelk
- IRC: twoelk
- In-game: twoelk
- Location: northern Germany
Re: Trying to implement Shadow Mapping
ok, I was wrong, it's not just cobble but rather any slab that looks darker from underneath and this may not be a shader only issue but an allready older minetest engine issue ... or mtg?
the sheep of mobs-redo are indeed very much darker with dynamic shaders on - which may be a mod problem as well :-(
havn't played with the newest version yet though
else, just wow!
the sheep of mobs-redo are indeed very much darker with dynamic shaders on - which may be a mod problem as well :-(
havn't played with the newest version yet though
else, just wow!
-
- Member
- Posts: 32
- Joined: Sat Jul 25, 2020 08:36
- GitHub: qawsedrftgzh
- Location: Germany
Re: Trying to implement Shadow Mapping
This seems to be an important improvement to minetest, I hope this will be included.
What about an AUR package?
What about an AUR package?
My English is not so good, because I am german
-
- Member
- Posts: 33
- Joined: Thu Feb 06, 2020 10:21
- GitHub: 0xLiso
- In-game: Liso
- Location: Valencia - Spain.
- Contact:
Re: Trying to implement Shadow Mapping
PR merged, so I guess this thread has come to its end :). Thank you all for your help and support. See you in the next PR, and in the "issues" tab xD
Liso. - My twitter -
- philipbenr
- Member
- Posts: 1897
- Joined: Fri Jun 14, 2013 01:56
- GitHub: philipbenr
- IRC: philipbenr
- In-game: robinspi
- Location: United States
Re: Trying to implement Shadow Mapping
Thank you for your hard work Liso!
- v-rob
- Developer
- Posts: 971
- Joined: Thu Mar 24, 2016 03:19
- GitHub: v-rob
- IRC: v-rob
- Location: Right behind you.
Re: Trying to implement Shadow Mapping
Yes, I imagine that quite a few issues will pop up soon. However, I am super glad to see this in Minetest, even if it does have some bugs. The game takes on a whole new light with this! (pun not intended)
- TumeniNodes
- Member
- Posts: 2943
- Joined: Fri Feb 26, 2016 19:49
- GitHub: TumeniNodes
- IRC: tumeninodes
- In-game: TumeniNodes
- Location: in the dark recesses of the mind
- Contact:
Re: Trying to implement Shadow Mapping
Same.
One issue I see so far, is how water works with all of this.
While water should cast a shadow, the blue casting should not be coming through as with stained glass.
It prob should'nt cast such a strong shadow either, but then again it's reading cubic dimensions so...
A Wonderful World
Re: Trying to implement Shadow Mapping
I've found that only flowing water does it, looks kinda cool in some circumstances but not allTumeniNodes wrote: ↑Tue Jun 08, 2021 00:53One issue I see so far, is how water works with all of this.
While water should cast a shadow, the blue casting should not be coming through as with stained glass.
It prob should'nt cast such a strong shadow either, but then again it's reading cubic dimensions so...
Scuba Lights
And this one.... Yeah idk
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP
- Andrey01
- Member
- Posts: 2577
- Joined: Wed Oct 19, 2016 15:18
- GitHub: Andrey2470T
- In-game: Andrey01
- Location: Russia, Moscow
Re: Trying to implement Shadow Mapping
It is so nice to see this is merged!
The whole game just gets drastically transformated with it if compare it with the atmosphere when disabled. And even no a need to improve the graphics in MTG because it is immediately improved in times with this feature. :)
The whole game just gets drastically transformated with it if compare it with the atmosphere when disabled. And even no a need to improve the graphics in MTG because it is immediately improved in times with this feature. :)
Re: Trying to implement Shadow Mapping
MERGED? Cool! :)
All my 5 thumbs up :P
All my 5 thumbs up :P
Re: Trying to implement Shadow Mapping
i think those water shadows are very interesting. i haven't seen any of this in-game yet, but are they animated just like the flowing water is? if yes, this could be very nice for creating a mysterious ambience in buildings.
✨🏳️🌈♣️✨
Re: Trying to implement Shadow Mapping
It seems to be intentional that water doesn't cast a shadow but I think the fact that flowing water does cast a shadow, is a bug
Creator of jelys_pizzaria and motorbike, and player of persistent kingdoms. RIP
Who is online
Users browsing this forum: No registered users and 4 guests