Tubulii
11-02-2010 17:01:59
Hallo,
i tried to use the shader posted here:
http://www.ogre3d.org/forums/viewtopic.php?f=11&t=52354
but it does not work, i get an error:
In the forum i found nobody who has the same problem.
But this shader should work in MOGRE.
I do not modified the shader, only the texturenames in the material.
i tried to use the shader posted here:
http://www.ogre3d.org/forums/viewtopic.php?f=11&t=52354
but it does not work, i get an error:
18:08:26: Parsing script newLighting.material
18:08:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called iScale does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
18:08:26: Compiler error: invalid parameters in newLighting.material(18): setting of constant failed
18:08:26: OGRE EXCEPTION(2:InvalidParametersException): Parameter called iScroll does not exist. in GpuProgramParameters::_findNamedConstantDefinition at ..\src\OgreGpuProgram.cpp (line 1097)
18:08:26: Compiler error: invalid parameters in newLighting.material(19): setting of constant failed
18:08:26: OGRE EXCEPTION(5:ItemIdentityException): Unable to locate vertex program called diffuse_directional_shadow_vs. in GpuProgramUsage::setProgramName at ..\src\OgreGpuProgramUsage.cpp (line 61)
In the forum i found nobody who has the same problem.
But this shader should work in MOGRE.
I do not modified the shader, only the texturenames in the material.