|
sargon, Member
Posted: 15 October 2012 11:40 PM Total Posts: 51
Error: Register overflow!
TRACE :
\away3d\materials\utils\RegisterPool.as:46]
at away3d.materials.utils::ShaderRegisterCache/getFreeFragmentConstant()
\away3d\materials\utils\ShaderRegisterCache.as:139]
at away3d.materials.methods::FogMethod/getFragmentCode()[
\away3d\materials\methods\FogMethod.as:89]
Any body knows something about it ?
I do not know that it can help to figure it out but:
I am using one fogMethod for all meshes that are on scene. This problem ocurs when I am adding/removing meshes from the scene after ~10 time error ocurs.
|
sargon, Member
Posted: 18 October 2012 07:11 PM Total Posts: 51
[ # 1 ]
No body ? :( I am stoped in my project becouse of fogMethod , i realy need it. No one have any idea ?
|
Fabrice Closier, Administrator
Posted: 18 October 2012 09:05 PM Total Posts: 1265
[ # 2 ]
Are you using one method and share it? Keep in mind it needs to be unique per material.
|
sargon, Member
Posted: 20 October 2012 01:38 PM Total Posts: 51
[ # 3 ]
I am making one methdo :
var fogMethod:FogMethod = new FogMethod();
and then do:
for each(mat in materials)
{
mat.addMethod(fogMethod);
}
do you meen I should create new method for each material ?
like this :?
for each(mat in materials)
{
mat.addMethod(new FogMethod());
}
|
ron~, Newbie
Posted: 26 February 2013 02:23 PM Total Posts: 15
[ # 4 ]
Hi Fabrice,
Error: Register overflow!
I got the same issue with away3D 4.0.11 version while adding fog. I tried both the ways, shared fog method and unique fog method per material.Can you please help me out here?
Thanks
|
Gary, Newbie
Posted: 04 March 2013 06:25 PM Total Posts: 1
[ # 5 ]
This is definitely a major bug, because it won’t go away even after called View3d.dispose() !!
|
ron~, Newbie
Posted: 05 March 2013 05:54 AM Total Posts: 15
[ # 6 ]
I don’t know whether its a bug or not, help needed from Away3D team
|