light.Shadowtype doesnt seem to exist

Nov 24, 2012 at 2:58 PM

Hi, when using the recommended download of krypton 2.0 the light.ShadowType property isnt available... I replaced the krypton project with the version from source code and it is now available but my project no longer compiles. I get an ArgumentNullException here....

 

 

     case (ShadowType.Occluded):
             helper.Effect.CurrentTechnique =helper.Effect.Techniques["PointLight_Shadow_Occluded"];
                    break;

in Light2D.cs

 

Thanks for any help!

 

Nov 24, 2012 at 3:01 PM

ok, fixed it... forgot to replace the krypton.fx xml file with the latest version from your testbed project