Tubulii
08-06-2010 16:50:08
I have some problems with the material from the Haydrax demo but I do not really know why.
I copied all textures, hlsl files, material files into the folders but the mesh (actually a plane) stays black.
The log says nothing about the Material file("Island.material"), only the shadow material("ShadowCaster.material"):
But in the log of the original hydrax demo are the same errors...
So I have no idea and need some help.
Thank you
I copied all textures, hlsl files, material files into the folders but the mesh (actually a plane) stays black.
The log says nothing about the Material file("Island.material"), only the shadow material("ShadowCaster.material"):
[...]
18:08:52: Parsing script Island.material
[...]
18:08:52: Parsing script ShadowCaster.material
18:08:52: OGRE EXCEPTION(2:InvalidParametersException): Parameter called uWorld does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\ogre\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
18:08:52: Compiler error: invalid parameters in ShadowCaster.material(38): setting of constant failed
18:08:52: OGRE EXCEPTION(2:InvalidParametersException): Parameter called uCameraPosition does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\ogre\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
18:08:52: Compiler error: invalid parameters in ShadowCaster.material(44): setting of constant failed
18:08:52: OGRE EXCEPTION(2:InvalidParametersException): Parameter called uFarClipDistance does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\..\ogre\OgreMain\src\OgreGpuProgramParams.cpp (line 1433)
18:08:52: Compiler error: invalid parameters in ShadowCaster.material(45): setting of constant failed
[...]
But in the log of the original hydrax demo are the same errors...
So I have no idea and need some help.
Thank you