Please see Environment for CMake build parameters.
Getting compilation error: Components/RTShaderSystem/src/OgreShaderFFPTexturing.cpp:658:79: error: no matching conversion for functional-style cast from 'const float *' to 'Ogre::Vector4' curFuncInvocation->pushOperand(ParameterFactory::createConstParam(Vector4(colourValue.ptr())), Operand::OPS_IN);
Thing is, that I am using double presision in Ogre. So, Ogre::Real is double, not float. So, that Vector4 constructor accepts double[4] in this case, not float[4]. And colourValue.ptr() returns exactly float[4]
Environment
Commit: 2852667eb60cf3db0f92b93be58b8ffe0ee69b92
Ogre project was generated with such variables: -DOGRE_CONFIG_DOUBLE=ON -DOGRE_BUILD_COMPONENT_RTSHADERSYSTEM=TRUE -DOGRE_BUILD_RTSHADERSYSTEM_CORE_SHADERS=ON -DOGRE_BUILD_RTSHADERSYSTEM_EXT_SHADERS=ON
Please see Environment for CMake build parameters.
Getting compilation error:
Components/RTShaderSystem/src/OgreShaderFFPTexturing.cpp:658:79: error: no matching conversion for functional-style cast from
'const float *' to 'Ogre::Vector4'
curFuncInvocation->pushOperand(ParameterFactory::createConstParam(Vector4(colourValue.ptr())), Operand::OPS_IN);
Thing is, that I am using double presision in Ogre. So, Ogre::Real is double, not float. So, that Vector4 constructor accepts double[4] in this case, not float[4]. And colourValue.ptr() returns exactly float[4]