-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #14 from xBambusekD/DroCoV2
feat: gstreamer linking included in project via pre-scene
- Loading branch information
Showing
53 changed files
with
6,970 additions
and
2,151 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,126 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &-8473874402481515547 | ||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} | ||
m_Name: | ||
m_EditorClassIdentifier: | ||
version: 5 | ||
--- !u!21 &2100000 | ||
Material: | ||
serializedVersion: 8 | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: APMaterial | ||
m_Shader: {fileID: 4800000, guid: 933532a4fcc9baf4fa0491de14d08ed7, type: 3} | ||
m_ValidKeywords: [] | ||
m_InvalidKeywords: [] | ||
m_LightmapFlags: 4 | ||
m_EnableInstancingVariants: 0 | ||
m_DoubleSidedGI: 0 | ||
m_CustomRenderQueue: -1 | ||
stringTagMap: | ||
RenderType: Opaque | ||
disabledShaderPasses: [] | ||
m_SavedProperties: | ||
serializedVersion: 3 | ||
m_TexEnvs: | ||
- _BaseMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _BumpMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailAlbedoMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailMask: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailNormalMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _EmissionMap: | ||
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} | ||
- _MetallicGlossMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _OcclusionMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _ParallaxMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _SpecGlossMap: | ||
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: | ||
- _AlphaClip: 0 | ||
- _Blend: 0 | ||
- _BumpScale: 1 | ||
- _ClearCoatMask: 0 | ||
- _ClearCoatSmoothness: 0 | ||
- _Cull: 2 | ||
- _Cutoff: 0.5 | ||
- _DetailAlbedoMapScale: 1 | ||
- _DetailNormalMapScale: 1 | ||
- _DstBlend: 0 | ||
- _EnvironmentReflections: 1 | ||
- _GlossMapScale: 0 | ||
- _Glossiness: 0 | ||
- _GlossyReflections: 0 | ||
- _Metallic: 0 | ||
- _OcclusionStrength: 1 | ||
- _Parallax: 0.005 | ||
- _QueueOffset: 0 | ||
- _ReceiveShadows: 1 | ||
- _Smoothness: 0.5 | ||
- _SmoothnessTextureChannel: 0 | ||
- _SpecularHighlights: 1 | ||
- _SrcBlend: 1 | ||
- _Surface: 0 | ||
- _WorkflowMode: 1 | ||
- _ZWrite: 1 | ||
m_Colors: | ||
- _BaseColor: {r: 0.3915094, g: 0.3915094, b: 1, a: 1} | ||
- _Color: {r: 0.39150938, g: 0.39150938, b: 1, a: 1} | ||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} | ||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} | ||
m_BuildTextureStacks: [] |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,103 @@ | ||
Shader "AR Proxy" | ||
{ | ||
Properties | ||
{ | ||
} | ||
|
||
SubShader | ||
{ | ||
Tags | ||
{ | ||
"RenderType" = "Transparent" | ||
"RenderPipeline" = "UniversalPipeline" | ||
"IgnoreProjector" = "True" | ||
} | ||
LOD 300 | ||
|
||
Pass | ||
{ | ||
Name "AR Proxy" | ||
Tags | ||
{ | ||
"LightMode" = "LightweightForward" | ||
} | ||
|
||
Blend SrcAlpha OneMinusSrcAlpha | ||
ZWrite On | ||
Cull Off | ||
|
||
HLSLPROGRAM | ||
#pragma prefer_hlslcc gles | ||
#pragma exclude_renderers d3d11_9x | ||
#pragma target 2.0 | ||
|
||
// ------------------------------------- | ||
// Material Keywords | ||
#pragma shader_feature _ALPHATEST_ON | ||
#pragma shader_feature _ALPHAPREMULTIPLY_ON | ||
|
||
// ------------------------------------- | ||
// Lightweight Pipeline keywords | ||
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS | ||
#pragma multi_compile _ _MAIN_LIGHT_SHADOWS_CASCADE | ||
#pragma multi_compile _ _ADDITIONAL_LIGHTS_VERTEX _ADDITIONAL_LIGHTS | ||
#pragma multi_compile _ _ADDITIONAL_LIGHT_SHADOWS | ||
#pragma multi_compile _ _SHADOWS_SOFT | ||
|
||
// ------------------------------------- | ||
// Unity defined keywords | ||
#pragma multi_compile _ DIRLIGHTMAP_COMBINED | ||
#pragma multi_compile _ LIGHTMAP_ON | ||
|
||
//-------------------------------------- | ||
// GPU Instancing | ||
#pragma multi_compile_instancing | ||
|
||
#pragma vertex HiddenVertex | ||
#pragma fragment HiddenFragment | ||
|
||
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Core.hlsl" | ||
#include "Packages/com.unity.render-pipelines.universal/ShaderLibrary/Lighting.hlsl" | ||
|
||
struct Attributes | ||
{ | ||
UNITY_VERTEX_INPUT_INSTANCE_ID | ||
float4 positionOS : POSITION; | ||
}; | ||
|
||
struct Varyings | ||
{ | ||
float4 positionCS : SV_POSITION; | ||
float4 shadowCoord : TEXCOORD0; | ||
}; | ||
|
||
Varyings HiddenVertex(Attributes input) | ||
{ | ||
Varyings output = (Varyings)0; | ||
|
||
UNITY_SETUP_INSTANCE_ID(input); | ||
UNITY_INITIALIZE_VERTEX_OUTPUT_STEREO(output); | ||
|
||
VertexPositionInputs vertexInput = GetVertexPositionInputs(input.positionOS.xyz); | ||
|
||
output.shadowCoord = GetShadowCoord(vertexInput); | ||
output.positionCS = vertexInput.positionCS; | ||
|
||
return output; | ||
} | ||
|
||
half4 HiddenFragment(Varyings input) : SV_Target | ||
{ | ||
UNITY_SETUP_STEREO_EYE_INDEX_POST_VERTEX(input); | ||
|
||
half s = MainLightRealtimeShadow(input.shadowCoord); | ||
return half4(0, 0, 0, 1 - s); | ||
} | ||
ENDHLSL | ||
} | ||
|
||
UsePass "Universal Render Pipeline/Lit/DepthOnly" | ||
} | ||
|
||
FallBack "Hidden/InternalErrorShader" | ||
} |
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
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,125 @@ | ||
%YAML 1.1 | ||
%TAG !u! tag:unity3d.com,2011: | ||
--- !u!114 &-4971207768502581322 | ||
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: d0353a89b1f911e48b9e16bdc9f2e058, type: 3} | ||
m_Name: | ||
m_EditorClassIdentifier: | ||
version: 5 | ||
--- !u!21 &2100000 | ||
Material: | ||
serializedVersion: 8 | ||
m_ObjectHideFlags: 0 | ||
m_CorrespondingSourceObject: {fileID: 0} | ||
m_PrefabInstance: {fileID: 0} | ||
m_PrefabAsset: {fileID: 0} | ||
m_Name: Occlusion | ||
m_Shader: {fileID: 4800000, guid: a08d7dbed93d2934d9d462f35b73707e, type: 3} | ||
m_ValidKeywords: [] | ||
m_InvalidKeywords: [] | ||
m_LightmapFlags: 4 | ||
m_EnableInstancingVariants: 0 | ||
m_DoubleSidedGI: 0 | ||
m_CustomRenderQueue: 2000 | ||
stringTagMap: {} | ||
disabledShaderPasses: [] | ||
m_SavedProperties: | ||
serializedVersion: 3 | ||
m_TexEnvs: | ||
- _BaseMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _BumpMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailAlbedoMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailMask: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _DetailNormalMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _EmissionMap: | ||
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} | ||
- _MetallicGlossMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _OcclusionMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _ParallaxMap: | ||
m_Texture: {fileID: 0} | ||
m_Scale: {x: 1, y: 1} | ||
m_Offset: {x: 0, y: 0} | ||
- _SpecGlossMap: | ||
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: | ||
- _AlphaClip: 0 | ||
- _Blend: 0 | ||
- _BumpScale: 1 | ||
- _ClearCoatMask: 0 | ||
- _ClearCoatSmoothness: 0 | ||
- _Cull: 2 | ||
- _Cutoff: 0.5 | ||
- _DetailAlbedoMapScale: 1 | ||
- _DetailNormalMapScale: 1 | ||
- _DstBlend: 0 | ||
- _EnvironmentReflections: 1 | ||
- _GlossMapScale: 0 | ||
- _Glossiness: 0 | ||
- _GlossyReflections: 0 | ||
- _Metallic: 0 | ||
- _OcclusionStrength: 1 | ||
- _Parallax: 0.005 | ||
- _QueueOffset: 0 | ||
- _ReceiveShadows: 1 | ||
- _Smoothness: 0.5 | ||
- _SmoothnessTextureChannel: 0 | ||
- _SpecularHighlights: 1 | ||
- _SrcBlend: 1 | ||
- _Surface: 0 | ||
- _WorkflowMode: 1 | ||
- _ZWrite: 1 | ||
m_Colors: | ||
- _BaseColor: {r: 1, g: 1, b: 1, a: 1} | ||
- _Color: {r: 1, g: 1, b: 1, a: 1} | ||
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1} | ||
- _SpecColor: {r: 0.19999996, g: 0.19999996, b: 0.19999996, a: 1} | ||
m_BuildTextureStacks: [] |
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.