shaders

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

shaders

by hampa16 » Mon Jul 01, 2013 20:25

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 » Mon Jul 01, 2013 20:27

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

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

by Jordach » Mon Jul 01, 2013 21:02

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.
viewtopic.php?f=10&t=19056 Solar Plains Dev Server
 

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

by hampa16 » Tue Jul 02, 2013 03:12

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 » Tue Jul 02, 2013 03:16

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
Location: Germany
GitHub: PilzAdam
IRC: PilzAdam

by PilzAdam » Tue Jul 02, 2013 11:16

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.
 

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

by sfan5 » Tue Jul 02, 2013 11:55

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: 3071
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Wed Jul 03, 2013 03:09

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/
Last edited by Inocudom on Wed Jul 03, 2013 21:56, edited 1 time in total.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

by hampa16 » Wed Aug 07, 2013 20:04

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
 

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

by Jordach » Wed Aug 07, 2013 21:25

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.
viewtopic.php?f=10&t=19056 Solar Plains Dev Server
 

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

by hampa16 » Sat Aug 31, 2013 20:11

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: 3071
Joined: Sat Sep 29, 2012 01:14
IRC: Inocudom
In-game: Inocudom

by Inocudom » Sat Aug 31, 2013 23:42

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.
The comedic value of my videos is how abysmal they are: https://www.youtube.com/channel/UC5cyeM ... YTfYFlih_A
 

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

Re:

by hampa16 » Thu Jun 26, 2014 19:16

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


Return to Problems



Who is online

Users browsing this forum: No registered users and 7 guests