I've managed to render shadows in HW mode. I think the problem was the
ColorMaterial ¿? because now I'm using BitmapMaterial and is running
in HW mode....

If I use a PointLight insead a DirectionalLight I'm getting the
exception reported by CoreGr.

Now I've lost antialiasing and the shadows are pixelated.



On 16 mayo, 12:02, DerSchmale <[email protected]> wrote:
> Ragaes: Hm, I'm not sure what causes that issue, it's something I'll
> have to investigate. Any example code you can provide would help us
> duplicate the error.
>
> Mobstar: You could try the SlowFilteredShadowMapMethod (the name is
> purely temporary ;-) ), but also be sure to set the camera.lens.far
> parameter no larger than it needs to be to render the visible
> geometry. That allows the shadow map to be constrained to the area of
> interest, providing a higher resolution.
>
> Hth,
> David
>
> On May 16, 10:16 am, mobstar07 <[email protected]> wrote:
>
>
>
> > I have no clue about your error, but I have similar results with the
> > various shadowmap methods.
> > They all look jagged on the edges, no matter which params (like
> > stepsize) I feed them.
> > I tried it on different machines with different graphicscards: it's
> > all the same.
> > Am I missing something? How to get smooth and acceptable shadows with
> > Away3D?
>
> > On May 16, 9:42 am, ragaes <[email protected]> wrote:
>
> > > Hi,
>
> > > While trying the SoftShadowTest sample in Away3D 4 I'm getting the
> > > following exception:
>
> > > RangeError: Error #1125: The index 4294967295 is out of range 8.
> > >         at away3d.lights.shadowmaps::ShadowMapperBase/renderDepthMap()[C:
> > > \Downloads\Flash\away3d_4_0_0_svn\broomstick\Away3D\src\away3d\lights
> > > \shadowmaps\ShadowMapperBase.as:88]
> > >         at away3d.containers::View3D/updateLights()[C:\Downloads\Flash
> > > \away3d_4_0_0_svn\broomstick\Away3D\src\away3d\containers\View3D.as:
> > > 395]
> > >         at away3d.containers::View3D/render()[C:\Downloads\Flash
> > > \away3d_4_0_0_svn\broomstick\Away3D\src\away3d\containers\View3D.as:
> > > 317]
> > >         at SoftShadowTest/_handleEnterFrame()[C:\Downloads\Flash
> > > \away3d_4_0_0_svn\broomstick\Examples\Away3D\as\src\SoftShadowTest.as:
> > > 151]
>
> > > If I enter in debug mode I can see that the problem is that context is
> > > null.
>
> > > If I choose to continue the execution, then shadows are rendered but
> > > always in Software mode.
>
> > > If have tried also with all shadow related methods:
> > > SoftShadowMapMethod, HardShadowMapMethod, FilteredShadowMapMethod and
> > > SlowFilteredShadowMapMethod.
>
> > > Always getting the same result.
>
> > > Is this a problem with my graphics card?
>
> > > Thanks in advance.- Ocultar texto de la cita -
>
> - Mostrar texto de la cita -

Reply via email to