O.K. So I thought, get hold of a very simple project that uses HLSL in a very simple way.
I found the "Cell Shader" example on the forum.
Nice. Now all I have to do is to create a project for it, change
Code: Select all
createDevice(EDT_DIRECT3D9, dimension2d(800, 600), 32);
Code: Select all
device = createDevice(EDT_DIRECT3D9, core::dimension2d<u32>(1024, 768));
"cel.hlsl" to "Shaders/cel.hlsl" (I like it that way).
O.K. Compile in VC 71 IDE under Irrlicht 1.8.3.
Cool! Compiled fine and I have have a beautiful "Compiled.exe".
I've got the Irrlicht 1.8.3 DLL right there in the release directory.
Run it and..
With the "Irrlicht.dll" (1.8.3) in my release directory
the console shows a repettitive "Error setting float array for HLSL variable".
With some other "irrlicht.dll"s in my release directory the console message
is gone but the rendered "Torus" is "Black".
Now, the originally downloaded pre-compiled "*.exe" with the included
irrlicht.dll (2.818.048 bytes) runs fine.
I just need a basic working HLSL project so I can try to convert a GLSL shader to HLSL.
Please help!