Highway
08-03-2008 21:13:18
I get this error when the trees batches are loaded with the new 1.4.7 eihort version:
possibly due to the api change
High-level program BatchPage_vp encountered an error during loading and is thus not supported.
OGRE EXCEPTION(6:FileNotFoundException): Cannot locate resource void main(
float3 normal : NORMAL,
float4 iPosition : POSITION,
float4 iColor : COLOR,
float2 iUV : TEXCOORD0,
out float4 oPosition : POSITION,
out float4 oColor : COLOR,
out float2 oUV : TEXCOORD0,
out float4 oFog : FOG,
uniform float4 objSpaceLight,
uniform float4 lightDiffuse,
uniform float4 lightAmbient,
uniform float4 matAmbient,
uniform float4x4 worldViewProj,
uniform float fadeGap,
uniform float invisibleDist )
{
float3 light = normalize(objSpaceLight.xyz - (iPosition.xyz * objSpaceLight.w));
float diffuseFactor = max(dot(normal, light), 0);
oColor = lightAmbient + diffuseFactor * lightDiffuse;
oColor *= (iColor / matAmbient);
oUV = iUV;
oPosition = mul(worldViewProj, iPosition);
oFog.x = oPosition.z;
} in resource group General or any other group. in ResourceGroupManager::openResource at \Projects\OgreCVS\Branches\Eihort_vc71\ogrenew\OgreMain\src\OgreResourceGroupManager.cpp (line 604)
possibly due to the api change