Page 1 of 1

DirectX in minetest

PostPosted: Sat May 24, 2014 21:36
by WilkerS1
Do anyone know if i can convert the minetest into a DirectX game?

If yes, how?

Re: DirectX in minetest

PostPosted: Sat May 24, 2014 21:47
by Calinou
The engine supports DIrect3D, but shaders are not supported.

Re: DirectX in minetest

PostPosted: Sat May 24, 2014 21:56
by Jordach
WilkerS1 wrote:Do anyone know if i can convert the minetest into a DirectX game?
You appear to assume that the developer builds that everyone pushes out run D3D / DX, which infact, only BlockMen's and that other guy who did it first has D3D support - not to mention it sort of goes against the idea of Open Source, because that means it only runs on Windows, despite parts of the community (including myself in the past, and likely to go back), happens to run Linux, which D3D does NOT work on.

So it's fruitless.

Just add this one line to the minetest.conf;

Your phone or window isn't wide enough to display the code box. If it's a phone, try rotating it to landscape mode.
Code: Select all
video_driver = direct3d9

Re: DirectX in minetest

PostPosted: Sat May 24, 2014 21:59
by WilkerS1
...it's because my objective is reah 60+ fps and get shader suport. my actual framerate is ~17-30 and when i try to use shaders everything is turned into red stuff (read the topic "Everything red (shader error)")

Re: DirectX in minetest

PostPosted: Sat May 24, 2014 22:05
by Inocudom
WilkerS1 wrote:...it's because my objective is reah 60+ fps and get shader suport. my actual framerate is ~17-30 and when i try to use shaders everything is turned into red stuff (read the topic "Everything red (shader error)")

I don't think you are going to win here. I asked for the same once, thus I got the same response. Eternally ask and you shall be eternally denied. However, RealBadAngel did want to make shaders for DirectX once (can't be certain that he still does.)