Example #1
0
 static void ApplyDynamicShadows(ShipRefs ship)
 {
     BngAdapter.ShipShadowProjector(ship).enabled = false;
     QualitySettings.shadows = ShadowQuality.All;
 }
Example #2
0
        static void ApplyStandardShaderToShip(ShipRefs ship)
        {
            var shipTex = BngAdapter.ShipTexture(ship);

            BngAdapter.ShipMeshRenderer(ship).material = UnityUtil.CreateMaterialForStandardShader(shipTex);
        }