-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
So I created a few more missions, including a couple new factions. I'm not 100% sold on the coloring but they seem okay enough. I added a dev code to switch out of a mission back to the main menu. That way people can try the different missions without necessarily completing them. I also fixed a HybridRenderer issue in builds where I needed more hybrid renderer vram to fit Mission 6. Unfortunately the editor setting does not transfer to builds, so I set it up in the bootstrap instead. Performance-wise, I am very happy with missions 1-4. They really show off the size of the simulation that can run with butter-smooth framerates. For mission 5, depending on where I look I can either be CPU-bound or GPU-bound. Framerate tanks a bit, but it remains playable and eventually things calm down enough where the framerate picks up. Mission 6 wrecks the system. It gets single-thread bottlenecked by the 50,000 orbital spawners cross bucket checking against the 300,000 bullets. That's not surprising. It is literally the Optimization Adventures #2 bottleneck in a real-world use case. It will be interesting to see if I can make that mission playable in a few more releases of the framework.
- Loading branch information
1 parent
dd6e1d5
commit bfdacee
Showing
37 changed files
with
7,335 additions
and
778 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,275 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!21 &2100000 | ||
Material: | ||
serializedVersion: 6 | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: Green | ||
m_Shader: {fileID: -6465566751694194690, guid: 12a3c158f9b71454689900d007212127, type: 3} | ||
m_ShaderKeywords: | ||
m_LightmapFlags: 4 | ||
m_EnableInstancingVariants: 1 | ||
m_DoubleSidedGI: 0 | ||
m_CustomRenderQueue: 2000 | ||
stringTagMap: | ||
MotionVector: User | ||
disabledShaderPasses: | ||
- DistortionVectors | ||
- MOTIONVECTORS | ||
- TransparentBackface | ||
- RayTracingPrepass | ||
m_SavedProperties: | ||
serializedVersion: 3 | ||
m_TexEnvs: | ||
- _AnisotropyMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _BaseColorMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _BentNormalMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _BentNormalMapOS: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _CoatMaskMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DistortionVectorMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _EmissiveColorMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _HeightMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _IridescenceMaskMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _IridescenceThicknessMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _MainTex: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _MaskMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _NormalMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _NormalMapOS: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _SpecularColorMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _SubsurfaceMaskMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _TangentMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _TangentMapOS: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _ThicknessMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _TransmittanceColorMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _UnlitColorMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
m_Floats: | ||
- _AORemapMax: 1 | ||
- _AORemapMin: 0 | ||
- _ATDistance: 1 | ||
- _AddPrecomputedVelocity: 0 | ||
- _AlbedoAffectEmissive: 0 | ||
- _AlphaCutoff: 0.5 | ||
- _AlphaCutoffEnable: 0 | ||
- _AlphaCutoffPostpass: 0.5 | ||
- _AlphaCutoffPrepass: 0.5 | ||
- _AlphaCutoffShadow: 0.5 | ||
- _AlphaDstBlend: 0 | ||
- _AlphaSrcBlend: 1 | ||
- _AlphaToMask: 0 | ||
- _Anisotropy: 0 | ||
- _BlendMode: 0 | ||
- _CoatMask: 0 | ||
- _CullMode: 2 | ||
- _CullModeForward: 2 | ||
- _Cutoff: 0.5 | ||
- _DepthOffsetEnable: 0 | ||
- _DetailAlbedoScale: 1 | ||
- _DetailNormalScale: 1 | ||
- _DetailSmoothnessScale: 1 | ||
- _DiffusionProfile: 0 | ||
- _DiffusionProfileHash: 0 | ||
- _DisplacementLockObjectScale: 1 | ||
- _DisplacementLockTilingScale: 1 | ||
- _DisplacementMode: 0 | ||
- _DistortionBlendMode: 0 | ||
- _DistortionBlurBlendMode: 0 | ||
- _DistortionBlurDstBlend: 1 | ||
- _DistortionBlurRemapMax: 1 | ||
- _DistortionBlurRemapMin: 0 | ||
- _DistortionBlurScale: 1 | ||
- _DistortionBlurSrcBlend: 1 | ||
- _DistortionDepthTest: 1 | ||
- _DistortionDstBlend: 1 | ||
- _DistortionEnable: 0 | ||
- _DistortionOnly: 0 | ||
- _DistortionScale: 1 | ||
- _DistortionSrcBlend: 1 | ||
- _DistortionVectorBias: -1 | ||
- _DistortionVectorScale: 2 | ||
- _DoubleSidedEnable: 0 | ||
- _DoubleSidedNormalMode: 1 | ||
- _DstBlend: 0 | ||
- _EmissiveColorMode: 1 | ||
- _EmissiveExposureWeight: 1 | ||
- _EmissiveIntensity: 1 | ||
- _EmissiveIntensityUnit: 0 | ||
- _EnableBlendModePreserveSpecularLighting: 1 | ||
- _EnableFogOnTransparent: 1 | ||
- _EnableGeometricSpecularAA: 0 | ||
- _EnergyConservingSpecularColor: 1 | ||
- _HeightAmplitude: 0.02 | ||
- _HeightCenter: 0.5 | ||
- _HeightMapParametrization: 0 | ||
- _HeightMax: 1 | ||
- _HeightMin: -1 | ||
- _HeightOffset: 0 | ||
- _HeightPoMAmplitude: 2 | ||
- _HeightTessAmplitude: 2 | ||
- _HeightTessCenter: 0.5 | ||
- _IncludeIndirectLighting: 1 | ||
- _InvTilingScale: 1 | ||
- _Ior: 1.5 | ||
- _IridescenceMask: 1 | ||
- _IridescenceThickness: 1 | ||
- _LinkDetailsWithBase: 1 | ||
- _MaterialID: 1 | ||
- _Metallic: 0 | ||
- _NormalMapSpace: 0 | ||
- _NormalScale: 1 | ||
- _PPDLodThreshold: 5 | ||
- _PPDMaxSamples: 15 | ||
- _PPDMinSamples: 5 | ||
- _PPDPrimitiveLength: 1 | ||
- _PPDPrimitiveWidth: 1 | ||
- _RayTracing: 0 | ||
- _ReceivesSSR: 1 | ||
- _ReceivesSSRTransparent: 1 | ||
- _RefractionModel: 0 | ||
- _RenderQueueType: 1 | ||
- _RequireSplitLighting: 0 | ||
- _SSRefractionProjectionModel: 0 | ||
- _Smoothness: 0.5 | ||
- _SmoothnessRemapMax: 1 | ||
- _SmoothnessRemapMin: 0 | ||
- _SpecularAAScreenSpaceVariance: 0.1 | ||
- _SpecularAAThreshold: 0.2 | ||
- _SpecularOcclusionMode: 1 | ||
- _SrcBlend: 1 | ||
- _StencilRef: 0 | ||
- _StencilRefDepth: 8 | ||
- _StencilRefDistortionVec: 4 | ||
- _StencilRefGBuffer: 10 | ||
- _StencilRefMV: 40 | ||
- _StencilWriteMask: 6 | ||
- _StencilWriteMaskDepth: 8 | ||
- _StencilWriteMaskDistortionVec: 4 | ||
- _StencilWriteMaskGBuffer: 14 | ||
- _StencilWriteMaskMV: 40 | ||
- _SubsurfaceMask: 1 | ||
- _SupportDecals: 1 | ||
- _SurfaceType: 0 | ||
- _TexWorldScale: 1 | ||
- _TexWorldScaleEmissive: 1 | ||
- _Thickness: 1 | ||
- _TransmissionEnable: 1 | ||
- _TransparentBackfaceEnable: 0 | ||
- _TransparentCullMode: 2 | ||
- _TransparentDepthPostpassEnable: 0 | ||
- _TransparentDepthPrepassEnable: 0 | ||
- _TransparentSortPriority: 0 | ||
- _TransparentWritingMotionVec: 0 | ||
- _TransparentZWrite: 0 | ||
- _UVBase: 0 | ||
- _UVDetail: 0 | ||
- _UVEmissive: 0 | ||
- _UseEmissiveIntensity: 0 | ||
- _UseShadowThreshold: 0 | ||
- _ZTestDepthEqualForOpaque: 3 | ||
- _ZTestGBuffer: 4 | ||
- _ZTestModeDistortion: 4 | ||
- _ZTestTransparent: 4 | ||
- _ZWrite: 1 | ||
m_Colors: | ||
- Color_22F515D: {r: 0, g: 0.21698111, b: 0.18926433, a: 0} | ||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} | ||
- _Color: {r: 0, g: 0, b: 0, a: 1} | ||
- _DiffusionProfileAsset: {r: 0, g: 0, b: 0, a: 0} | ||
- _DoubleSidedConstants: {r: 1, g: 1, b: -1, a: 0} | ||
- _EmissionColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _EmissiveColor: {r: 0, g: 0, b: 0, a: 1} | ||
- _EmissiveColorLDR: {r: 0, g: 0, b: 0, a: 1} | ||
- _InvPrimScale: {r: 1, g: 1, b: 0, a: 0} | ||
- _IridescenceThicknessRemap: {r: 0, g: 1, b: 0, a: 0} | ||
- _SpecularColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _ThicknessRemap: {r: 0, g: 1, b: 0, a: 0} | ||
- _TransmittanceColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _UVDetailsMappingMask: {r: 1, g: 0, b: 0, a: 0} | ||
- _UVMappingMask: {r: 1, g: 0, b: 0, a: 0} | ||
- _UVMappingMaskEmissive: {r: 1, g: 0, b: 0, a: 0} | ||
- _UnlitColor: {r: 1, g: 0, b: 0, a: 1} | ||
- _UnlitColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0} | ||
m_BuildTextureStacks: [] | ||
--- !u!114 &1705791941055616829 | ||
MonoBehaviour: | ||
m_ObjectHideFlags: 11 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_GameObject: {fileID: 0} | ||
m_Enabled: 1 | ||
m_EditorHideFlags: 0 | ||
m_Script: {fileID: 11500000, guid: da692e001514ec24dbc4cca1949ff7e8, type: 3} | ||
m_Name: | ||
m_EditorClassIdentifier: | ||
version: 3 |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
Oops, something went wrong.