Browse Source

grayscale shader added, no double sided texture

audio
Cailean Finn 6 months ago
parent
commit
f27043f1f0
  1. 30
      Assets/5_Scenes/DreconDemo.unity
  2. 2292
      Assets/9_Models/Objects/Materials/Ground Grey Shader.shadergraph
  3. 10
      Assets/9_Models/Objects/Materials/Ground Grey Shader.shadergraph.meta
  4. 341
      Assets/9_Models/Objects/Materials/Ground Grey.mat
  5. 8
      Assets/9_Models/Objects/Materials/Ground Grey.mat.meta
  6. 2
      Assets/ML-Agents/Timers/DreconDemo_timers.json

30
Assets/5_Scenes/DreconDemo.unity

@ -445,7 +445,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 153031623}
serializedVersion: 2
m_LocalRotation: {x: -0.000011777459, y: 0.99844646, z: 0.05572048, w: -0.00006459623}
m_LocalRotation: {x: -0.000011777699, y: 0.99844646, z: 0.05572048, w: -0.00006459193}
m_LocalPosition: {x: 18.10261, y: 8.421116, z: 4.4883924}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -960,11 +960,11 @@ Camera:
y: 0
width: 1
height: 1
near clip plane: 0.1
far clip plane: 50000
field of view: 20
near clip plane: 0.01
far clip plane: 5000
field of view: 35.81
orthographic: 0
orthographic size: 5.2
orthographic size: 10
m_Depth: -1
m_CullingMask:
serializedVersion: 2
@ -988,8 +988,8 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 330585543}
serializedVersion: 2
m_LocalRotation: {x: 0.00064008374, y: 0.96079075, z: -0.002218047, w: 0.2772649}
m_LocalPosition: {x: -12.548151, y: 85.00142, z: 19.542995}
m_LocalRotation: {x: 0.4892265, y: 0.0019183395, z: -0.0010760742, w: 0.872154}
m_LocalPosition: {x: 18.101963, y: 9.998964, z: -0.49403942}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
m_Children: []
@ -1437,7 +1437,7 @@ GameObject:
m_Icon: {fileID: 0}
m_NavMeshLayer: 0
m_StaticEditorFlags: 0
m_IsActive: 1
m_IsActive: 0
--- !u!4 &564611602
Transform:
m_ObjectHideFlags: 0
@ -2252,7 +2252,7 @@ MonoBehaviour:
- m_Script
m_LockStageInInspector:
m_StreamingVersion: 20170927
m_Priority: 0
m_Priority: 2147483647
m_StandbyUpdate: 2
m_LookAt: {fileID: 1808813725}
m_Follow: {fileID: 2581342070419090085}
@ -2290,7 +2290,7 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 882491594}
serializedVersion: 2
m_LocalRotation: {x: 0.4892265, y: 0.0019183453, z: -0.0010760775, w: 0.87215406}
m_LocalRotation: {x: 0.4892265, y: 0.0019183395, z: -0.0010760742, w: 0.872154}
m_LocalPosition: {x: 18.101963, y: 9.998964, z: -0.49403942}
m_LocalScale: {x: 1, y: 1, z: 1}
m_ConstrainProportionsScale: 0
@ -3768,7 +3768,7 @@ PrefabInstance:
- target: {fileID: -774367247743995920, guid: 48098b8dbd129e14a8ce29e7d166189a,
type: 3}
propertyPath: m_Enabled
value: 1
value: 0
objectReference: {fileID: 0}
- target: {fileID: -774367247743995920, guid: 48098b8dbd129e14a8ce29e7d166189a,
type: 3}
@ -6191,7 +6191,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID: 2100000, guid: 055cad1d1284df545a9a655d5927b32a, type: 2}
- {fileID: 2100000, guid: 4b3e8335251082441a6c4c633af0a9ad, type: 2}
m_StaticBatchInfo:
firstSubMesh: 0
subMeshCount: 0
@ -10805,13 +10805,13 @@ Transform:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 2193423312754886620}
serializedVersion: 2
m_LocalRotation: {x: -0.7223639, y: 0, z: 0, w: 0.6915131}
m_LocalPosition: {x: 1.1017, y: -19.7, z: -2.2}
m_LocalRotation: {x: 0.6918912, y: 0, z: 0, w: 0.72200185}
m_LocalPosition: {x: 1.1017, y: -0.37, z: -2.2}
m_LocalScale: {x: -22528.566, y: -22528.566, z: -22528.566}
m_ConstrainProportionsScale: 0
m_Children: []
m_Father: {fileID: 543450651852864845}
m_LocalEulerAnglesHint: {x: -92.5, y: 0, z: 0}
m_LocalEulerAnglesHint: {x: 87.56, y: 0, z: 0}
--- !u!114 &4931218027702484627
MonoBehaviour:
m_ObjectHideFlags: 0

2292
Assets/9_Models/Objects/Materials/Ground Grey Shader.shadergraph

File diff suppressed because it is too large

10
Assets/9_Models/Objects/Materials/Ground Grey Shader.shadergraph.meta

@ -0,0 +1,10 @@
fileFormatVersion: 2
guid: f97d302c1df793a4f8d70be328d57c6e
ScriptedImporter:
internalIDToNameTable: []
externalObjects: {}
serializedVersion: 2
userData:
assetBundleName:
assetBundleVariant:
script: {fileID: 11500000, guid: 625f186215c104763be7675aa2d941aa, type: 3}

341
Assets/9_Models/Objects/Materials/Ground Grey.mat

@ -0,0 +1,341 @@
%YAML 1.1
%TAG !u! tag:unity3d.com,2011:
--- !u!21 &2100000
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: Ground Grey
m_Shader: {fileID: -6465566751694194690, guid: f97d302c1df793a4f8d70be328d57c6e,
type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- _DISABLE_SSR_TRANSPARENT
m_InvalidKeywords:
- _NORMALMAP_TANGENT_SPACE
m_LightmapFlags: 4
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 2225
stringTagMap:
MotionVector: User
disabledShaderPasses:
- RayTracingPrepass
- MOTIONVECTORS
- TransparentDepthPrepass
- TransparentDepthPostpass
- TransparentBackface
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- Texture2D_4450AB74:
m_Texture: {fileID: 2800000, guid: 4f1b8617bbd915748b31acf4f9bb2cd1, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _AnisotropyMap:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _BaseColorMap:
m_Texture: {fileID: 2800000, guid: 4f1b8617bbd915748b31acf4f9bb2cd1, type: 3}
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: 2800000, guid: 4f1b8617bbd915748b31acf4f9bb2cd1, type: 3}
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}
- _TransmissionMaskMap:
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}
- unity_Lightmaps:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_LightmapsInd:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- unity_ShadowMasks:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- Boolean_193028D2: 0
- Boolean_3F1A8DAB: 0
- Boolean_43476D73: 1
- Boolean_7165A49C: 1
- Boolean_85059BBE: 1
- Boolean_8BBF99CD: 1
- Boolean_D258FF8E: 0
- Vector1_21C41D02: 1024
- Vector1_6F288C5B: 0.5
- Vector1_B2CC132F: 100
- Vector1_B9994903: 11
- Vector1_E8746023: 4
- _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
- _AlphaRemapMax: 1
- _AlphaRemapMin: 0
- _AlphaSrcBlend: 1
- _Anisotropy: 0
- _BlendMode: 0
- _BumpScale: 1
- _CoatMask: 0
- _ConservativeDepthOffsetEnable: 0
- _CullMode: 2
- _CullModeForward: 2
- _Cutoff: 0.5
- _DepthOffsetEnable: 0
- _DetailAlbedoScale: 1
- _DetailNormalMapScale: 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
- _DoubleSidedGIMode: 0
- _DoubleSidedNormalMode: 1
- _DstBlend: 0
- _EmissiveColorMode: 1
- _EmissiveExposureWeight: 1
- _EmissiveIntensity: 1
- _EmissiveIntensityUnit: 0
- _EnableBlendModePreserveSpecularLighting: 1
- _EnableFogOnTransparent: 1
- _EnableGeometricSpecularAA: 0
- _EnergyConservingSpecularColor: 1
- _GlossMapScale: 1
- _Glossiness: 0
- _GlossyReflections: 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
- _Metal: 0
- _Metallic: 0
- _MetallicRemapMax: 1
- _MetallicRemapMin: 0
- _Mode: 0
- _NormalMapSpace: 0
- _NormalScale: 1
- _ObjectSpaceUVMapping: 0
- _ObjectSpaceUVMappingEmissive: 0
- _OcclusionStrength: 1
- _OpaqueCullMode: 2
- _PPDLodThreshold: 5
- _PPDMaxSamples: 15
- _PPDMinSamples: 5
- _PPDPrimitiveLength: 1
- _PPDPrimitiveWidth: 1
- _Parallax: 0.02
- _RayTracing: 0
- _ReceivesSSR: 1
- _ReceivesSSRTransparent: 0
- _RefractionModel: 0
- _RenderQueueType: 1
- _RequireSplitLighting: 0
- _Smooth: 0
- _Smoothness: 0
- _SmoothnessRemapMax: 1
- _SmoothnessRemapMin: 0
- _SmoothnessTextureChannel: 0
- _SpecularAAScreenSpaceVariance: 0.1
- _SpecularAAThreshold: 0.2
- _SpecularHighlights: 1
- _SpecularOcclusionMode: 1
- _SrcBlend: 1
- _StencilRef: 0
- _StencilRefDepth: 8
- _StencilRefDistortionVec: 4
- _StencilRefGBuffer: 10
- _StencilRefMV: 40
- _StencilWriteMask: 6
- _StencilWriteMaskDepth: 9
- _StencilWriteMaskDistortionVec: 4
- _StencilWriteMaskGBuffer: 15
- _StencilWriteMaskMV: 41
- _SubsurfaceMask: 1
- _SupportDecals: 1
- _SurfaceType: 0
- _TexWorldScale: 1
- _TexWorldScaleEmissive: 1
- _Thickness: 1
- _TransmissionEnable: 1
- _TransmissionMask: 1
- _TransparentBackfaceEnable: 0
- _TransparentCullMode: 2
- _TransparentDepthPostpassEnable: 0
- _TransparentDepthPrepassEnable: 0
- _TransparentSortPriority: 0
- _TransparentWritingMotionVec: 0
- _TransparentZWrite: 0
- _UVBase: 0
- _UVDetail: 0
- _UVEmissive: 0
- _UVSec: 0
- _UseEmissiveIntensity: 0
- _UseShadowThreshold: 0
- _ZTestDepthEqualForOpaque: 3
- _ZTestGBuffer: 4
- _ZTestModeDistortion: 4
- _ZTestTransparent: 4
- _ZWrite: 1
m_Colors:
- Color_2E5415DE: {r: 1, g: 1, b: 1, a: 0}
- Vector2_8044833E: {r: 1, g: 1, b: 0, a: 0}
- _BaseColor: {r: 1, g: 1, b: 1, a: 1}
- _BaseColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
- _Color: {r: 1, g: 1, b: 1, 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: 1, b: 1, a: 1}
- _UnlitColorMap_MipInfo: {r: 0, g: 0, b: 0, a: 0}
m_BuildTextureStacks: []
--- !u!114 &1931362132009262879
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: 13
hdPluginSubTargetMaterialVersions:
m_Keys: []
m_Values:

8
Assets/9_Models/Objects/Materials/Ground Grey.mat.meta

@ -0,0 +1,8 @@
fileFormatVersion: 2
guid: 4b3e8335251082441a6c4c633af0a9ad
NativeFormatImporter:
externalObjects: {}
mainObjectFileID: 2100000
userData:
assetBundleName:
assetBundleVariant:

2
Assets/ML-Agents/Timers/DreconDemo_timers.json

@ -1 +1 @@
{"count":1,"self":226.7664384,"total":234.2474087,"children":{"InitializeActuators":{"count":1,"self":0.0025418999999999997,"total":0.0025418999999999997,"children":null},"InitializeSensors":{"count":1,"self":0.0010197,"total":0.0010197,"children":null},"AgentSendState":{"count":13253,"self":0.1241168,"total":2.7949417,"children":{"CollectObservations":{"count":6627,"self":2.6147608,"total":2.6147609,"children":null},"WriteActionMask":{"count":6627,"self":0.013604399999999999,"total":0.013604399999999999,"children":null},"RequestDecision":{"count":6627,"self":0.0424596,"total":0.0424596,"children":null}}},"DecideAction":{"count":13253,"self":3.1530595999999997,"total":3.1530597,"children":null},"AgentAct":{"count":13253,"self":1.5289049,"total":1.5289049,"children":null}},"gauges":{"DReCon-v0.CumulativeReward":{"count":3,"max":2597.937,"min":61.7363968,"runningAverage":943.459961,"value":2597.937,"weightedAverage":716.218445}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713359269","unity_version":"2022.3.5f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.5f1\\Editor\\Unity.exe -projectpath C:\\Users\\caile\\Desktop\\drecon-unity -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-cail -hubSessionId 60702737-0d85-46c9-9963-54ce885fdf87 -accessToken HL02TXSKYS0F1zGXNaFKZ8u_6ATTHafGlDHtkhjTyHA005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"DreconDemo","end_time_seconds":"1713359504"}}
{"count":1,"self":103.3575616,"total":107.10418329999999,"children":{"InitializeActuators":{"count":1,"self":0.0010117,"total":0.0010117,"children":null},"InitializeSensors":{"count":1,"self":0.0015092,"total":0.0015092,"children":null},"AgentSendState":{"count":6058,"self":0.029307999999999997,"total":0.9837178,"children":{"CollectObservations":{"count":3029,"self":0.92844189999999993,"total":0.92844189999999993,"children":null},"WriteActionMask":{"count":3029,"self":0.0045397,"total":0.0045397,"children":null},"RequestDecision":{"count":3029,"self":0.021428199999999998,"total":0.021428199999999998,"children":null}}},"DecideAction":{"count":6058,"self":1.9655694,"total":1.9655694,"children":null},"AgentAct":{"count":6058,"self":0.7948158,"total":0.7948158,"children":null}},"gauges":{"DReCon-v0.CumulativeReward":{"count":2,"max":2372.5188,"min":71.50009,"runningAverage":1222.0094,"value":2372.5188,"weightedAverage":646.754761}},"metadata":{"timer_format_version":"0.1.0","start_time_seconds":"1713360782","unity_version":"2022.3.5f1","command_line_arguments":"C:\\Program Files\\Unity\\Hub\\Editor\\2022.3.5f1\\Editor\\Unity.exe -projectpath C:\\Users\\caile\\Desktop\\drecon-unity -useHub -hubIPC -cloudEnvironment production -licensingIpc LicenseClient-cail -hubSessionId 60702737-0d85-46c9-9963-54ce885fdf87 -accessToken HL02TXSKYS0F1zGXNaFKZ8u_6ATTHafGlDHtkhjTyHA005f","communication_protocol_version":"1.5.0","com.unity.ml-agents_version":"2.0.1","scene_name":"DreconDemo","end_time_seconds":"1713360889"}}
Loading…
Cancel
Save