Exemplo n.º 1
0
 /// <summary>
 /// virtual function to collect information for static light update
 /// </summary>
 /// <param name="info"></param>
 protected override void GetStaticLightInfo(StaticLightInfo info)
 {
     info.SupplierShapes.Add(this);
 }
Exemplo n.º 2
0
 /// <summary>
 /// virtual function to collect information for static light update
 /// </summary>
 /// <param name="info"></param>
 protected override void GetStaticLightInfo(StaticLightInfo info)
 {
     if (!HasModel || !HasEngineInstance())
     return;
       if (_bCastStaticShadows)
     info.RelevantOccluder.Add(this);
     //      if (LightmapTiling > 1)
       if (EngineEntity.HasLightmappedMaterials())
     info.RelevantReceiver.Add(this);
 }
Exemplo n.º 3
0
 protected override void GetStaticLightInfo(StaticLightInfo info)
 {
     if (this.CastStaticShadows)
     info.RelevantOccluder.Add(this);
       if (this.Lightmapped)
     info.RelevantReceiver.Add(this);
 }
Exemplo n.º 4
0
        protected override void GetStaticLightInfo(StaticLightInfo info)
        {
            base.GetStaticLightInfo(info);

              if (CastStaticShadows && this.Instances != null && this.Instances.Length > 0)
            info.RelevantOccluder.Add(this);
        }
Exemplo n.º 5
0
 /// <summary>
 /// virtual function to collect information for static light update
 /// </summary>
 /// <param name="info"></param>
 protected override void GetStaticLightInfo(StaticLightInfo info)
 {
     info.SupplierShapes.Add(this);
 }
Exemplo n.º 6
0
 /// <summary>
 /// virtual function to collect information for static light update
 /// </summary>
 /// <param name="info"></param>
 protected override void GetStaticLightInfo(StaticLightInfo info)
 {
     if (!ExportAsStatic)
     return;
       info.RelevantLights.Add(this);
       if (HasEngineInstance())
     EngineLight.ResetStaticGeometryInstanceList();
 }