If this is your first visit, be sure to
check out the FAQ by clicking the
link above. You may have to register
before you can post: click the register link above to proceed. To start viewing messages,
select the forum that you want to visit from the selection below.

Natural Selection 2 Open-Sources Its HLSL To GLSL Converter

Phoronix: Natural Selection 2 Open-Sources Its HLSL To GLSL Converter

Following in the steps of Valve's kind actions towards open-sourcing some components that can help out game developers in going from Windows to Linux support (and Direct3D to OpenGL), the code used by the Natural Selection 2 game to translate from Microsoft HLSL to OpenGL GLSL shaders has been opened up...

i'm guessing here, but shader converter is separate from dx probably since they are 2 different things. and shader conversion always sucked major in wine (only way to get wine on nvidia is by disabling shaders all together). maybe, now that there are 2 implementations out in the wild, wine can swap or improve their own.

I bought this came several months ago and still never really played it. On linux the performance is terrible and on Windows it crashes after about 10 minutes. Also the loading screens are waaay too slow. I'm basically just waiting for them to fix it up enough so it's playable.

What? If you mean setting UseGLSL=disabled then yes, that can be a useful option at times. But in recent versions of Wine it's now slower than having it enabled, and probably slightly less compatible. It's not really disabling shaders altogether either as far as I'm aware; it's just using a different method of achieveing the same thing.

What? If you mean setting UseGLSL=disabled then yes, that can be a useful option at times. But in recent versions of Wine it's now slower than having it enabled, and probably slightly less compatible. It's not really disabling shaders altogether either as far as I'm aware; it's just using a different method of achieveing the same thing.

slower.... maybe. but, at least you don't suffer stuttering when using proprietary driver. with glsl enabled, trying to roll camera around is downright painful. i'm using wine 1.7.13 where i doubt things improved since then since no change was mentioned in any version release