Page 1 of 1

Making water having reflections

PostPosted: Mon Feb 04, 2013 12:54
by xavier108
How about in the settings it will have the option for making water having reflections and turning off the reflection.If only making it have reflections possible

PostPosted: Mon Feb 04, 2013 14:03
by PilzAdam
First code the shader for water reflection.

PostPosted: Mon Feb 04, 2013 15:49
by Jeija
PilzAdam wrote:First code the shader for water reflection.

+1
The Problem definitely is not deciding on adding it or not.

PostPosted: Tue Feb 05, 2013 01:58
by Josh
Water reflection would be very good. Does minecraft have water reflection? If not we have a brand new feature ahead of us :)

PostPosted: Tue Feb 05, 2013 02:02
by jojoa1997
also waves would be good.

PostPosted: Tue Feb 05, 2013 04:03
by Menche
Reflections would be great, but probably not easy to code.

PostPosted: Tue Feb 05, 2013 05:14
by xavier108
jojoa1997 wrote:also waves would be good.

Take a look at this http://forum.minetest.net/viewtopic.php?id=4401

PostPosted: Tue Feb 05, 2013 06:16
by Jeija
I once actually coded water shaders, this one is for waves:
https://github.com/Jeija/minetest/tree/shader_playground
Just in case you want to use it. I wasn't able to make working reflections, so I gave that up (only some white stripes and strange flickering, but nothing else).

PostPosted: Wed Feb 13, 2013 06:40
by MEGASPARK
could be good! waves+reflection=total goddness for minetest

PostPosted: Tue Apr 16, 2013 14:51
by Bas080
If reflection only worked for taking a screenshots, i would already be a happy man.

PostPosted: Tue Apr 16, 2013 15:23
by issa
offcourse YES !!

PostPosted: Tue Apr 16, 2013 15:29
by Bas080
Terasology has reflections working well on water. Including wave effect and sun reflection/glare. Not that I find glare logical within a game setting. I dislike sun glare in real life. Why would i want this in a game?

Image

PostPosted: Tue Apr 16, 2013 18:47
by Jeija
Hybrid Dog wrote:Have you ever looked at the water of warzone2100?

warzone2100 is one of my favorite games, but their water doesn't really suit minetest's needs. From my understanding it doesn't use shaders, but just consists of animated textures (likely two of them moving in opposite directions, which creates a wave effect). For minetest however, people would rather expect to see actual waves, you can look more closely at the water than in wz2100.

PostPosted: Wed Apr 17, 2013 00:29
by 12Me21
Is it possible to have a node change nodebox shape instantly while playing? because then there could be 3d waves.

PostPosted: Wed Apr 17, 2013 02:27
by VanessaE
This is not currently possible, no, though there is work being done to exactly that end. What you can do in the meantime is define a few nodes with the desired shapes and swap back and forth between them by just doing add_node() for each change, but this is hacky and potentially slow.

PostPosted: Wed Apr 17, 2013 11:35
by Jeija
Is it possible to have a node change nodebox shape instantly while playing? because then there could be 3d waves.


Once again, my 3d waves:
Jeija wrote:I once actually coded water shaders, this one is for waves:
https://github.com/Jeija/minetest/tree/shader_playground
Just in case you want to use it. I wasn't able to make working reflections, so I gave that up (only some white stripes and strange flickering, but nothing else).

PostPosted: Wed Apr 17, 2013 12:45
by Zeg9
12Me21 wrote:Is it possible to have a node change nodebox shape instantly while playing? because then there could be 3d waves.

No, but you can make an animated model and put it on an entity. But I don't think it's a good idea for water.

PostPosted: Wed Apr 17, 2013 14:13
by 12Me21
The problem with having 3d waves, reflections in water, and other more detailed water is that there are tons of water in the map, so any more detailed water would cause a lot of lag.