enable_shaders new_style_water

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

enable_shaders new_style_water

by 0gb.us » Wed Dec 12, 2012 16:33

I like the new shaders, but the lower water level they cause make thin water and lava invisible, as it makes the liquid surface render below the surface of the stone. So I set enable_shaders to true, and new_style_water to false

Doing that turns every node on the map bright red, and turns all nodes (but not other objects) in you inventory some sort of yellowish tint. I'd post a screenshot, but I have nowhere to upload it right now.
 

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

by PilzAdam » Wed Dec 12, 2012 16:35

http://www.zimg.eu/ for screenshots.
 

User avatar
0gb.us
Member
 
Posts: 841
Joined: Sun Sep 16, 2012 01:55

by 0gb.us » Thu Dec 13, 2012 01:43

A couple minutes after I posted, I found what I had done wrong, but I couldn't get back into the forum to delete this topic. Maybe it was down? Just for fun though, this is what I was looking at.

Image

enable_shaders needs to be set to "2" to function properly, at least on my computer. I had it set to "1", and tried setting it to "true" as well.

It seems that new_style_water isn't lowering the water level though, the shaders are, so the only way to raise the water level back up is to disable them. But that makes it harder to see the edges of the blocks. Oh, well.
 

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

by Calinou » Thu Dec 13, 2012 12:55

GLSL shaders only work with OpenGL rendering, make sure you use "opengl" as video_driver.
There is currently no support for HLSL shaders, which are used by Direct3D.

Also, your graphics card needs to support GLSL shaders (if the window name shows "OpenGL 2.0" or better, it does).
 

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

by PilzAdam » Thu Dec 13, 2012 16:40

enable_shaders in minetest.conf currently has only 2 states, "0" and "2".
Last edited by PilzAdam on Thu Dec 13, 2012 16:40, edited 1 time in total.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 9 guests

cron