Hi, All
In away3d 4.0.9 Gold I used 5 DirLights in StaticLightPicker
updated to 4.1.6. and it seems i can use just 2 DirLights ...
I received error when added many DirLights
Please help. Maybe this is not an error ..
——————-
Error: Error #3629: AGAL validation failed: Too many tokens (201) for fragment program.
at flash.display3D::Program3D/upload()
at away3d.core.managers::AGALProgram3DCache/setProgram3D()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcoremanagersAGALProgram3DCache.as:101]
at away3d.materials.passes::MaterialPassBase/updateProgram()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dmaterialspassesMaterialPassBase.as:492]
at away3d.materials.passes::CompiledPass/updateProgram()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dmaterialspassesCompiledPass.as:154]
at away3d.materials.passes::MaterialPassBase/activate()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dmaterialspassesMaterialPassBase.as:386]
at away3d.materials.passes::CompiledPass/activate()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dmaterialspassesCompiledPass.as:576]
at away3d.materials.passes::SuperShaderPass/activate()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dmaterialspassesSuperShaderPass.as:190]
at away3d.materials::MaterialBase/activatePass()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dmaterialsMaterialBase.as:408]
at away3d.core.render::DefaultRenderer/drawRenderables()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcorerenderDefaultRenderer.as:189]
at away3d.core.render::DefaultRenderer/draw()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcorerenderDefaultRenderer.as:113]
at away3d.core.render::RendererBase/executeRender()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcorerenderRendererBase.as:281]
at away3d.core.render::DefaultRenderer/executeRender()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcorerenderDefaultRenderer.as:66]
at away3d.core.render::RendererBase/render()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcorerenderRendererBase.as:245]
at away3d.containers::View3D/render()[E:WorkspaceFDevelopDEVlibaway3d-core-fp11-mastersrcaway3dcontainersView3D.as:689]
at net.DE.controllers::FloorController/redraw()[E:WorkspaceFDevelopDEVsrcnetDEcontrollersFloorController.as:180]