Hi,
I am currently trying to get my head a little bit into shaders, but I realized that that I can't use HLSL shaders with my irrlicht.dll I created following the tutorial on the wiki (http://irrlicht3d.org/wiki/index.php?n= ... 9WithMinGW). Does anyone have an idea if it's possible to activate HLSL when using MinGW? I don't want to switch to VC because MinGW gives me better performance. Thanks.
HLSL and MinGW
HLSL and MinGW
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Re: HLSL and MinGW
I am currently using a MinGW build of Irrlicht built using the instructions at that link to include D3D9 support, and I have no trouble running the samples that use shaders in either D3D or OpenGL mode. Exactly what kind of errors are you getting?
Re: HLSL and MinGW
Hi,
sorry for the late reply, but this is the error I see in the console:
sorry for the late reply, but this is the error I see in the console:
Any idea?Could not load shader function D3DXCompileShader from dll, shaders disabled: d3dx9_42.dll
Dustbin::Games on the web: https://www.dustbin-online.de/
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
Dustbin::Games on facebook: https://www.facebook.com/dustbingames/
Dustbin::Games on twitter: https://twitter.com/dustbingames
-
- Admin
- Posts: 14143
- Joined: Wed Apr 19, 2006 9:20 pm
- Location: Oldenburg(Oldb), Germany
- Contact:
Re: HLSL and MinGW
Too new dll? There's a workaround to enable the old interface of d3dx, maybe it also help for this revision. Could be, though, that we need to rework some parts of the shader handling to make things easier.