Error: Error #3691: Resource limit for this resource type exceeded.

Software: Away3D 4.x

Boyan, Newbie
Posted: 01 October 2013 02:48 PM   Total Posts: 18

Hello again,

I have an object with an array of materials(the count is about 20). On a very short time interval one of these materials is selected randomly and applied to the object, so the object constantly changes its material in a high rate.

After my app runs for a few minutes it gives that error:

Error: Error #3691: Resource limit for this resource type exceeded.
at flash.display3D::Context3D/createTexture()
at away3d.textures::RenderTexture/createTexture()
at away3d.textures::TextureProxyBase/getTextureForStage3D()
at away3d.materials.methods::SimpleShadowMapMethodBase/activate()
at away3d.materials.methods::SoftShadowMapMethod/activate()
at away3d.materials.passes::CompiledPass/activate()
at away3d.materials.passes::SuperShaderPass/activate()
at away3d.materials::MaterialBase/activatePass()
at away3d.core.render::DefaultRenderer/drawRenderables()
at away3d.core.render::DefaultRenderer/draw()
at away3d.core.render::RendererBase/executeRender()
at away3d.core.render::DefaultRenderer/executeRender()
at away3d.core.render::RendererBase/render()
at away3d.containers::View3D/render()
at tbcasino.D3::Background3D/onEnterFrameX()

So… why? New materials are not created dynamically - predefined materials are applied to the object…

   
   

X

Away3D Forum

Member Login

Username

Password

Remember_me



X