This project is read-only.

Types of Shadows

Shadow Type

  • Solid
  • Illuminated
  • Occluded

var light = new Light2D()

light.ShadowType = ShadowType.Solid;
light.ShadowType = ShadowType.Illuminated;
light.ShadowType = ShadowType.Occluded;

Below is a picture showing the difference between the shadow types in Krypton v2.0

Note: Please download the latest official release for Krypton 2.0

Last edited Dec 12, 2011 at 5:21 PM by xixonia, version 4


veit99 Oct 5, 2014 at 1:06 PM 
Hi, as stevedunn I can't find the property ShadowType and neither the enumerator.

djdindak Nov 3, 2011 at 7:48 PM 
Hi Steve,

What change set are you running for Krypton?


stevedunn Sep 26, 2011 at 3:22 PM 
Hi, I can't seem to find anywhere in the API where these can be specified. I can see references to the in the KryptonEffect.fx file, but how do I get access to them from code? I specifically wanted my hulls to be illuminated whilst still causing a shadow (which it appears quite a few want too).
Great framework though! Many thanks.