Page 1 of 1

shaders

PostPosted: Mon Jul 01, 2013 20:25
by hampa16
how do you turn on shaders in minetest 0.4.7?

PostPosted: Mon Jul 01, 2013 20:27
by Dan Duncombe
Go to the settings tab and enable shaders.

PostPosted: Mon Jul 01, 2013 21:02
by Jordach
hampa16 wrote:how do you turn on shaders in minetest 0.4.7?
Shaders are usually enabled by default. But in some cases it is not enabled.

PostPosted: Tue Jul 02, 2013 03:12
by hampa16
Dan Duncombe wrote:Go to the settings tab and enable shaders.
when i enable them, the blocks will turn yellow or red

PostPosted: Tue Jul 02, 2013 03:16
by hampa16
Jordach wrote:
hampa16 wrote:how do you turn on shaders in minetest 0.4.7?
Shaders are usually enabled by default. But in some cases it is not enabled.
they are disabled/enabled in the settings by checking/unchecking the check box

PostPosted: Tue Jul 02, 2013 11:16
by PilzAdam
hampa16 wrote:
Dan Duncombe wrote:Go to the settings tab and enable shaders.
when i enable them, the blocks will turn yellow or red

Then your driver doesnt support GLSL shaders.

PostPosted: Tue Jul 02, 2013 11:55
by sfan5
PilzAdam wrote:
hampa16 wrote:
Dan Duncombe wrote:Go to the settings tab and enable shaders.
when i enable them, the blocks will turn yellow or red

Then your driver doesnt support GLSL shaders.

Or you use DirectX

PostPosted: Wed Jul 03, 2013 03:09
by Inocudom
I am working on the assumption that this is a suitable place to post this.
Inocudom wrote:
Fess wrote:Latest dev build of minetest x64 v0.4.7, commit fe4ce03d52:
http://yadi.sk/d/zsSHNOiR6R41m
P.S. All of current opengl shaders are placed in \client\shaders\ ?


They do indeed appear to be in there. They might be in the folders test_shader_1, test_shader_2, test_shader_3.

I found a few articles that compare HLSL and GLSL shaders. Anyone that is interested should give them a read.
http://msdn.microsoft.com/en-us/library/windows/apps/dn166865.aspx
http://www.opengl.org/discussion_boards/showthread.php/163885-GLSL-and-HLSL-Differences
http://gamedev.stackexchange.com/questions/4234/what-are-the-pros-and-cons-of-hlsl-vs-glsl-vs-cg


This was originally posted in the topic where Fess puts the links to his 64-bit builds. Basically, there are only GLSL shaders right now, and Direct X doesn't work with those. I suggested a number of times before that there should also be shaders for Direct X, just as there are for OpenGL. Why would this be a good idea, you might ask? For starters, Minetest has more calculations to perform than most games do (since it is a sandbox game made up of boxels,) so it needs to make use of CPU and RAM constantly. For some computers, using Direct X is easier than using OpenGL. These factors mean that even though those computers can get away with running OpenArena, Cube 2, and Xonotic in OpenGL, they may not be able to do the same with Minetest.

The links in the reply above shed light on the matter of comparing GLSL shaders to HLSL shaders. I am hoping that someone will find the pages beyond the links to be useful, but past experiences seem to indicate that the Minetest community is hostile towards the prospect of shaders being made for Direct X.

I found out about a project that will attempt to add DirectX 11 support to Irrlicht today. The link to it is below:
http://graphicexperiences.wordpress.com/2010/12/17/irrlicht_and_dx11/

PostPosted: Wed Aug 07, 2013 20:04
by hampa16
sfan5 wrote:
PilzAdam wrote:
hampa16 wrote:when i enable them, the blocks will turn yellow or red

Then your driver doesnt support GLSL shaders.

Or you use DirectX
sfan do you have a video of minetest shaders?

PostPosted: Wed Aug 07, 2013 21:25
by Jordach
hampa16 wrote:
sfan5 wrote:
PilzAdam wrote:Then your driver doesnt support GLSL shaders.

Or you use DirectX
sfan do you have a video of minetest shaders?
The shaders only brighten the blocks, not do anything NEAR Sonic Ether's shaders.

PostPosted: Sat Aug 31, 2013 20:11
by hampa16
Jordach wrote:
hampa16 wrote:
sfan5 wrote:Or you use DirectX
sfan do you have a video of minetest shaders?
The shaders only brighten the blocks, not do anything NEAR Sonic Ether's shaders.
Can anyone post a link of the video showing shaders in minetest

PostPosted: Sat Aug 31, 2013 23:42
by Inocudom
Bump mapping is now part of Minetest, and RealBadAngel is seeking to add parallax mapping to it. Of course, this will take some time. Be patient.

Re:

PostPosted: Thu Jun 26, 2014 19:16
by hampa16
Jordach wrote:The shaders only brighten the blocks, not do anything NEAR Sonic Ether's shaders.
Well where is the brightening of the blocks?