shaders

Post Reply
hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

shaders

by hampa16 » Post

how do you turn on shaders in minetest 0.4.7?
Rex 2 Double 9
=RomanFox2=
SoulKiller35

User avatar
Dan Duncombe
Member
Posts: 904
Joined: Thu May 09, 2013 21:11
Location: In the unknown depths of Earth

by Dan Duncombe » Post

Go to the settings tab and enable shaders.
Some Mods: Castles Prefab Camouflage
My Games: Nostalgia Realtest Revamped
Servers: See above games.

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

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.

hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

by hampa16 » Post

Dan Duncombe wrote:Go to the settings tab and enable shaders.
when i enable them, the blocks will turn yellow or red
Rex 2 Double 9
=RomanFox2=
SoulKiller35

hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

by hampa16 » Post

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
Rex 2 Double 9
=RomanFox2=
SoulKiller35

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

by PilzAdam » Post

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.

sfan5
Moderator
Posts: 4094
Joined: Wed Aug 24, 2011 09:44
GitHub: sfan5
IRC: sfan5
Location: Germany

by sfan5 » Post

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
Mods: Mesecons | WorldEdit | Nuke & Minetest builds for Windows (32-bit & 64-bit)

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

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 ... 66865.aspx
http://www.opengl.org/discussion_boards ... ifferences
http://gamedev.stackexchange.com/questi ... 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 ... _and_dx11/
Last edited by Inocudom on Wed Jul 03, 2013 21:56, edited 1 time in total.

hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

by hampa16 » Post

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?
Rex 2 Double 9
=RomanFox2=
SoulKiller35

Jordach
Member
Posts: 4534
Joined: Mon Oct 03, 2011 17:58
GitHub: Jordach
IRC: Jordach
In-game: Jordach
Location: Blender Scene

by Jordach » Post

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.

hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

by hampa16 » Post

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
Rex 2 Double 9
=RomanFox2=
SoulKiller35

User avatar
Inocudom
Member
Posts: 3121
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Post

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.

hampa16
Member
Posts: 194
Joined: Sat Jun 29, 2013 04:20

Re:

by hampa16 » Post

Jordach wrote:The shaders only brighten the blocks, not do anything NEAR Sonic Ether's shaders.
Well where is the brightening of the blocks?

Post Reply

Who is online

Users browsing this forum: No registered users and 4 guests