Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
1
1stGames
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Abdulrahman Mohammed
1stGames
Commits
59695355
Commit
59695355
authored
Dec 25, 2025
by
saad
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
,
parent
6ba634ea
Changes
8
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
506 additions
and
412 deletions
+506
-412
LiquidVolume.cs
Assets/LiquidVolumePro/Scripts/LiquidVolume.cs
+1
-1
Highlight.mat
Assets/Scenes/1st/Material/Highlight.mat
+2
-2
WebGLVideoController.cs
Assets/Scenes/Test 2/Script/WebGLVideoController.cs
+33
-0
WebGLVideoController.cs.meta
Assets/Scenes/Test 2/Script/WebGLVideoController.cs.meta
+11
-0
test.unity
Assets/Scenes/Test 2/test.unity
+444
-409
StreamingAssets.meta
Assets/StreamingAssets.meta
+8
-0
demo.mp4
Assets/StreamingAssets/demo.mp4
+0
-0
demo.mp4.meta
Assets/StreamingAssets/demo.mp4.meta
+7
-0
No files found.
Assets/LiquidVolumePro/Scripts/LiquidVolume.cs
View file @
59695355
...
...
@@ -2136,7 +2136,7 @@ namespace LiquidVolumeFX {
scatteringPower
=
0
;
scatteringAmount
=
0
;
}
liqMat
.
SetVector
(
ShaderParams
.
GlossinessInt
,
new
Vector4
((
1f
-
_glossinessInternal
)
*
96f
+
1f
,
Mathf
.
Pow
(
2
,
scatteringPower
),
scatteringAmount
,
_glossinessInternal
));
//
liqMat.SetVector(ShaderParams.GlossinessInt, new Vector4((1f - _glossinessInternal) * 96f + 1f, Mathf.Pow(2, scatteringPower), scatteringAmount, _glossinessInternal));
liqMat
.
SetFloat
(
ShaderParams
.
DoubleSidedBias
,
_doubleSidedBias
);
liqMat
.
SetFloat
(
ShaderParams
.
BackDepthBias
,
-
_backDepthBias
);
...
...
Assets/Scenes/1st/Material/Highlight.mat
View file @
59695355
...
...
@@ -135,8 +135,8 @@ Material:
-
_XRMotionVectorsPass
:
1
-
_ZWrite
:
0
m_Colors
:
-
_BaseColor
:
{
r
:
0
,
g
:
1
,
b
:
0.1082
8862
,
a
:
0.0486468
8
}
-
_Color
:
{
r
:
0
,
g
:
1
,
b
:
0.108
32562
,
a
:
0.13279839
}
-
_BaseColor
:
{
r
:
0
,
g
:
1
,
b
:
0.1082
5572
,
a
:
0.646671
8
}
-
_Color
:
{
r
:
0
,
g
:
1
,
b
:
0.108
28138
,
a
:
0.9245481
}
-
_EmissionColor
:
{
r
:
0
,
g
:
0
,
b
:
0
,
a
:
1
}
-
_SpecColor
:
{
r
:
0.19999996
,
g
:
0.19999996
,
b
:
0.19999996
,
a
:
1
}
m_BuildTextureStacks
:
[]
Assets/Scenes/Test 2/Script/WebGLVideoController.cs
0 → 100644
View file @
59695355
using
UnityEngine
;
using
UnityEngine.Video
;
public
class
WebGLVideoController
:
MonoBehaviour
{
public
VideoPlayer
videoPlayer
;
public
string
videoFileName
=
"intro.mp4"
;
void
Start
()
{
// WebGL requires URL from StreamingAssets
videoPlayer
.
source
=
VideoSource
.
Url
;
videoPlayer
.
url
=
Application
.
streamingAssetsPath
+
"/"
+
videoFileName
;
// Browser requires muted video
videoPlayer
.
audioOutputMode
=
VideoAudioOutputMode
.
Direct
;
videoPlayer
.
SetDirectAudioMute
(
0
,
true
);
videoPlayer
.
playOnAwake
=
false
;
videoPlayer
.
waitForFirstFrame
=
true
;
PlayVideo
();
}
// Call this from a UI Button
public
void
PlayVideo
()
{
if
(!
videoPlayer
.
isPlaying
)
{
videoPlayer
.
Play
();
}
}
}
Assets/Scenes/Test 2/Script/WebGLVideoController.cs.meta
0 → 100644
View file @
59695355
fileFormatVersion: 2
guid: 2245b0dcf8bbd1f41a75d0dcc7f1564a
MonoImporter:
externalObjects: {}
serializedVersion: 2
defaultReferences: []
executionOrder: 0
icon: {instanceID: 0}
userData:
assetBundleName:
assetBundleVariant:
Assets/Scenes/Test 2/test.unity
View file @
59695355
...
...
@@ -6558,6 +6558,106 @@ Transform:
m_Children: []
m_Father: {fileID: 219230468}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!21 &190438798
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeSimple(Clone)
m_Shader: {fileID: 4800000, guid: dceb6298c8f1d4227a4fb2355f0a4ef0, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
- LIQUID_VOLUME_USE_REFRACTION
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 0
- _AlphaCombined: 0
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 0.31
- _DoubleSidedBias: 0
- _FlaskBlurIntensity: 0.75
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -25.202047
- _FoamRaySteps: 1
- _FoamTurbulence: 1
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -25.202047
- _LiquidRaySteps: 10
- _LowerLimit: -0.118499994
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.118499994
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 1.9700003, g: -23.624138, b: -18.5, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0.505226, g: 0.63432544, b: 0.81886786, a: 0}
- _Color2: {r: 0.7207546, g: 0.7207546, b: 0.7207546, a: 0}
- _EmissionColor: {r: 0.74165183, g: 0.84704566, b: 0.94716984, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12563676, g: 0.00502547, b: 0.81915164, a: 2.5127351}
- _Size: {r: 5.8858695, g: 3.979727, b: 2.736987, a: 1.52894}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0}
- _Turbulence: {r: 1, g: 0, b: 47.12389, a: 15.707964}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1 &219230466
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -7320,7 +7420,7 @@ PrefabInstance:
- target: {fileID: -7511558181221131132, guid: 43e7f30f88778654f97290834601e46b, type: 3}
propertyPath: m_Materials.Array.data[0]
value:
objectReference: {fileID:
1797204874
}
objectReference: {fileID:
2015112442
}
- target: {fileID: -7511558181221131132, guid: 43e7f30f88778654f97290834601e46b, type: 3}
propertyPath: m_Materials.Array.data[1]
value:
...
...
@@ -7971,106 +8071,6 @@ Transform:
- {fileID: 311972414}
m_Father: {fileID: 1120622888}
m_LocalEulerAnglesHint: {x: 0, y: 0, z: 0}
--- !u!21 &378698385
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeSimple(Clone)
m_Shader: {fileID: 4800000, guid: dceb6298c8f1d4227a4fb2355f0a4ef0, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
- LIQUID_VOLUME_USE_REFRACTION
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 1
- _AlphaCombined: 1
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 0.31
- _DoubleSidedBias: 0
- _FlaskBlurIntensity: 0.75
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -22.799154
- _FoamRaySteps: 1
- _FoamTurbulence: 1
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -22.799154
- _LiquidRaySteps: 10
- _LowerLimit: -0.118499994
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.118499994
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 4.1900005, g: -23.620562, b: -7.3387485, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0.505226, g: 0.63432544, b: 0.81886786, a: 1}
- _Color2: {r: 0.7207546, g: 0.7207546, b: 0.7207546, a: 0.21568628}
- _EmissionColor: {r: 0.74165183, g: 0.84704566, b: 0.94716984, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0.65}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12563676, g: 0.00502547, b: 0.81915164, a: 2.5127351}
- _Size: {r: 5.885869, g: 3.979727, b: 2.736987, a: 1.52894}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0.25}
- _Turbulence: {r: 0, g: 0, b: 0, a: 0}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!21 &380314545
Material:
serializedVersion: 8
...
...
@@ -13937,7 +13937,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID:
1615270821
}
- {fileID:
916670329
}
- {fileID: 380314545}
m_StaticBatchInfo:
firstSubMesh: 0
...
...
@@ -14247,7 +14247,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID:
378698385
}
- {fileID:
2145612253
}
- {fileID: 1069002129}
- {fileID: 741225887}
- {fileID: 380314545}
...
...
@@ -14545,6 +14545,30 @@ MonoBehaviour:
precomputeOutline: 0
bakeKeys: []
bakeValues: []
--- !u!1 &634189554 stripped
GameObject:
m_CorrespondingSourceObject: {fileID: 2816380704833586807, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
m_PrefabInstance: {fileID: 805838428}
m_PrefabAsset: {fileID: 0}
--- !u!328 &634189556 stripped
VideoPlayer:
m_CorrespondingSourceObject: {fileID: 444970146930379313, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
m_PrefabInstance: {fileID: 805838428}
m_PrefabAsset: {fileID: 0}
--- !u!114 &634189557
MonoBehaviour:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 634189554}
m_Enabled: 1
m_EditorHideFlags: 0
m_Script: {fileID: 11500000, guid: 2245b0dcf8bbd1f41a75d0dcc7f1564a, type: 3}
m_Name:
m_EditorClassIdentifier:
videoPlayer: {fileID: 634189556}
videoFileName: demo.mp4
--- !u!1 &638088880
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -15479,6 +15503,14 @@ PrefabInstance:
propertyPath: m_VideoClip
value:
objectReference: {fileID: 32900000, guid: 74d1a0a13dc75c549beed8e94180b401, type: 3}
- target: {fileID: 444970146930379313, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
propertyPath: m_DataSource
value: 1
objectReference: {fileID: 0}
- target: {fileID: 444970146930379313, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
propertyPath: m_PlayOnAwake
value: 0
objectReference: {fileID: 0}
- target: {fileID: 444970146930379313, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
propertyPath: m_ControlledAudioTrackCount
value: 0
...
...
@@ -15618,7 +15650,10 @@ PrefabInstance:
m_RemovedComponents: []
m_RemovedGameObjects: []
m_AddedGameObjects: []
m_AddedComponents: []
m_AddedComponents:
- targetCorrespondingSourceObject: {fileID: 2816380704833586807, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
insertIndex: -1
addedObject: {fileID: 634189557}
m_SourcePrefab: {fileID: 100100000, guid: 8c33e9fb62a386e47b4f95267ed5798b, type: 3}
--- !u!1 &817112494
GameObject:
...
...
@@ -15695,108 +15730,8 @@ CanvasRenderer:
m_PrefabAsset: {fileID: 0}
m_GameObject: {fileID: 817112494}
m_CullTransparentMesh: 1
--- !u!21 &847062770
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeSimple(Clone)
m_Shader: {fileID: 4800000, guid: dceb6298c8f1d4227a4fb2355f0a4ef0, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
- LIQUID_VOLUME_USE_REFRACTION
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 0
- _AlphaCombined: 0
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 0.31
- _DoubleSidedBias: 0
- _FlaskBlurIntensity: 0.75
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -25.202047
- _FoamRaySteps: 1
- _FoamTurbulence: 1
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -25.202047
- _LiquidRaySteps: 10
- _LowerLimit: -0.118499994
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.118499994
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 1.9700003, g: -23.624138, b: -18.5, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0.505226, g: 0.63432544, b: 0.81886786, a: 0}
- _Color2: {r: 0.7207546, g: 0.7207546, b: 0.7207546, a: 0}
- _EmissionColor: {r: 0.74165183, g: 0.84704566, b: 0.94716984, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12563676, g: 0.00502547, b: 0.81915164, a: 2.5127351}
- _Size: {r: 5.8858695, g: 3.979727, b: 2.736987, a: 1.52894}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0}
- _Turbulence: {r: 1, g: 0, b: 47.12389, a: 15.707964}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1 &853816848
GameObject:
--- !u!1 &853816848
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
...
...
@@ -15924,6 +15859,106 @@ MonoBehaviour:
precomputeOutline: 0
bakeKeys: []
bakeValues: []
--- !u!21 &916670329
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeSimple(Clone)
m_Shader: {fileID: 4800000, guid: dceb6298c8f1d4227a4fb2355f0a4ef0, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
- LIQUID_VOLUME_USE_REFRACTION
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 0
- _AlphaCombined: 0
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 0.31
- _DoubleSidedBias: 0
- _FlaskBlurIntensity: 0.75
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -25.202047
- _FoamRaySteps: 1
- _FoamTurbulence: 1
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -25.202047
- _LiquidRaySteps: 10
- _LowerLimit: -0.118499994
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.118499994
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 6.14, g: -23.624138, b: -18.5, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0.505226, g: 0.63432544, b: 0.81886786, a: 0}
- _Color2: {r: 0.7207546, g: 0.7207546, b: 0.7207546, a: 0}
- _EmissionColor: {r: 0.74165183, g: 0.84704566, b: 0.94716984, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12563676, g: 0.00502547, b: 0.81915164, a: 2.5127351}
- _Size: {r: 5.8858695, g: 3.979727, b: 2.7369876, a: 1.52894}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0}
- _Turbulence: {r: 1, g: 0, b: 47.12389, a: 15.707964}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1 &916960396
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -23114,7 +23149,7 @@ MeshRenderer:
m_RenderingLayerMask: 1
m_RendererPriority: 0
m_Materials:
- {fileID:
847062770
}
- {fileID:
190438798
}
- {fileID: 380314545}
m_StaticBatchInfo:
firstSubMesh: 0
...
...
@@ -31211,108 +31246,8 @@ MonoBehaviour:
precomputeOutline: 0
bakeKeys: []
bakeValues: []
--- !u!21 &1615270821
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeSimple(Clone)
m_Shader: {fileID: 4800000, guid: dceb6298c8f1d4227a4fb2355f0a4ef0, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
- LIQUID_VOLUME_USE_REFRACTION
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 0
- _AlphaCombined: 0
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 0.31
- _DoubleSidedBias: 0
- _FlaskBlurIntensity: 0.75
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -25.202047
- _FoamRaySteps: 1
- _FoamTurbulence: 1
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -25.202047
- _LiquidRaySteps: 10
- _LowerLimit: -0.118499994
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.118499994
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 6.14, g: -23.624138, b: -18.5, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0.505226, g: 0.63432544, b: 0.81886786, a: 0}
- _Color2: {r: 0.7207546, g: 0.7207546, b: 0.7207546, a: 0}
- _EmissionColor: {r: 0.74165183, g: 0.84704566, b: 0.94716984, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12563676, g: 0.00502547, b: 0.81915164, a: 2.5127351}
- _Size: {r: 5.8858695, g: 3.979727, b: 2.7369876, a: 1.52894}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0}
- _Turbulence: {r: 1, g: 0, b: 47.12389, a: 15.707964}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1 &1629395138
GameObject:
--- !u!1 &1629395138
GameObject:
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
...
...
@@ -32271,106 +32206,6 @@ PrefabInstance:
insertIndex: -1
addedObject: {fileID: 909622864}
m_SourcePrefab: {fileID: 100100000, guid: f320a03c9c86d2548851073680c2d356, type: 3}
--- !u!21 &1797204874
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeDefaultNoFlask(Clone)
m_Shader: {fileID: 4800000, guid: 045a60f5db3314d55b5609a847d062a8, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
-
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 1
- _AlphaCombined: 1
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 2.41
- _DoubleSidedBias: 0.001
- _FlaskBlurIntensity: 1
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -23.552301
- _FoamRaySteps: 7
- _FoamTurbulence: 0
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -23.5527
- _LiquidRaySteps: 10
- _LowerLimit: -0.032624856
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.032624856
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 23.09, g: -24.706163, b: -6.64, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0, g: 0, b: 0, a: 0.1}
- _Color2: {r: 0.6754716, g: 0.3833188, b: 0.1924457, a: 0.3}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0.65}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12532564, g: 0.0050130254, b: 0.36093786, a: 1.0026051}
- _Size: {r: 4.766823, g: 3.9896066, b: 1.845559, a: 0.92050016}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0.25}
- _Turbulence: {r: 0, g: 0, b: 9.424778, a: 3.1415927}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1 &1802327251
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -34265,6 +34100,106 @@ BoxCollider:
serializedVersion: 3
m_Size: {x: 0.12095961, y: 0.15799999, z: 0.10799998}
m_Center: {x: -0.006476841, y: 0.0008201599, z: 0.0000005010515}
--- !u!21 &2015112442
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeDefaultNoFlask(Clone)
m_Shader: {fileID: 4800000, guid: 045a60f5db3314d55b5609a847d062a8, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
-
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 1
- _AlphaCombined: 1
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 2.41
- _DoubleSidedBias: 0.001
- _FlaskBlurIntensity: 1
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -23.552301
- _FoamRaySteps: 7
- _FoamTurbulence: 0
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -23.5527
- _LiquidRaySteps: 10
- _LowerLimit: -0.032624856
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.032624856
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 23.09, g: -24.706163, b: -6.64, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0, g: 0, b: 0, a: 0.1}
- _Color2: {r: 0.6754716, g: 0.3833188, b: 0.1924457, a: 0.3}
- _EmissionColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0.65}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12532564, g: 0.0050130254, b: 0.36093786, a: 1.0026051}
- _Size: {r: 4.766823, g: 3.9896066, b: 1.845559, a: 0.92050016}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0.25}
- _Turbulence: {r: 0, g: 0, b: 9.424778, a: 3.1415927}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1 &2015570211
GameObject:
m_ObjectHideFlags: 0
...
...
@@ -35498,6 +35433,106 @@ MonoBehaviour:
m_EffectColor: {r: 0, g: 0, b: 0, a: 1}
m_EffectDistance: {x: 0.1, y: 0.1}
m_UseGraphicAlpha: 1
--- !u!21 &2145612253
Material:
serializedVersion: 8
m_ObjectHideFlags: 0
m_CorrespondingSourceObject: {fileID: 0}
m_PrefabInstance: {fileID: 0}
m_PrefabAsset: {fileID: 0}
m_Name: LiquidVolumeSimple(Clone)
m_Shader: {fileID: 4800000, guid: dceb6298c8f1d4227a4fb2355f0a4ef0, type: 3}
m_Parent: {fileID: 0}
m_ModifiedSerializedProperties: 0
m_ValidKeywords:
- LIQUID_VOLUME_CYLINDER
- LIQUID_VOLUME_NON_AABB
m_InvalidKeywords:
-
-
-
- LIQUID_VOLUME_USE_REFRACTION
m_LightmapFlags: 5
m_EnableInstancingVariants: 0
m_DoubleSidedGI: 0
m_CustomRenderQueue: 3001
stringTagMap: {}
disabledShaderPasses: []
m_LockedProperties:
m_SavedProperties:
serializedVersion: 3
m_TexEnvs:
- _MainTex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _Noise2Tex:
m_Texture: {fileID: 0}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex:
m_Texture: {fileID: 11700000, guid: 41974beaaddc547889b39d0022cb1d07, type: 2}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
- _NoiseTex2D:
m_Texture: {fileID: 2800000, guid: 2e25f51e1f31e4da8bdac5d08b0f578f, type: 3}
m_Scale: {x: 1, y: 1}
m_Offset: {x: 0, y: 0}
m_Ints: []
m_Floats:
- _Alpha: 1
- _AlphaCombined: 1
- _BasePos: -1
- _CullMode: 2
- _DeepAtten: 0.31
- _DoubleSidedBias: 0
- _FlaskBlurIntensity: 0.75
- _FlaskThickness: 0.05
- _FoamBottom: 1
- _FoamDensity: -1
- _FoamMaxPos: -22.799154
- _FoamRaySteps: 1
- _FoamTurbulence: 1
- _FoamWeight: 4
- _Glossiness: 0.767
- _GlossinessInt: 0.5
- _Level: 1
- _LevelPos: -22.799154
- _LiquidRaySteps: 10
- _LowerLimit: -0.118499994
- _Metallic: 0
- _Muddy: 0
- _Radius: 0.5
- _SmokeAtten: 2
- _SmokeHeightAtten: 0
- _SmokeRaySteps: 5
- _SmokeSpeed: 5
- _Sparkling: 1
- _SparklingIntensity: 0
- _SparklingThreshold: 1
- _Topology: 0
- _Turbulence: 1
- _Turbulence2: 1
- _TurbulenceSpeed: 1
- _UpperLimit: 0.118499994
- _ZTestMode: 4
m_Colors:
- _Bounds: {r: 1, g: 1, b: 1, a: 1}
- _Center: {r: 4.1900005, g: -23.620562, b: -7.3387485, a: 0}
- _Color: {r: 1, g: 1, b: 1, a: 1}
- _Color1: {r: 0.505226, g: 0.63432544, b: 0.81886786, a: 1}
- _Color2: {r: 0.7207546, g: 0.7207546, b: 0.7207546, a: 0.21568628}
- _EmissionColor: {r: 0.74165183, g: 0.84704566, b: 0.94716984, a: 1}
- _FlaskColor: {r: 0, g: 0, b: 0, a: 1}
- _FlaskThickness: {r: 1, g: 1, b: 1, a: 0}
- _FoamColor: {r: 1, g: 1, b: 1, a: 0.65}
- _LightColor: {r: 1, g: 1, b: 1, a: 1}
- _Scale: {r: 0.12563676, g: 0.00502547, b: 0.81915164, a: 2.5127351}
- _Size: {r: 5.885869, g: 3.979727, b: 2.736987, a: 1.52894}
- _SmokeColor: {r: 0.7, g: 0.7, b: 0.7, a: 0.25}
- _Turbulence: {r: 0, g: 0, b: 0, a: 0}
- _ViewDir: {r: 0, g: 0, b: 1, a: 1}
m_BuildTextureStacks: []
--- !u!1001 &2145765844
PrefabInstance:
m_ObjectHideFlags: 0
Assets/StreamingAssets.meta
0 → 100644
View file @
59695355
fileFormatVersion: 2
guid: fdc32d96ab9ef7341a46bc71bbf721ca
folderAsset: yes
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Assets/StreamingAssets/demo.mp4
0 → 100644
View file @
59695355
File added
Assets/StreamingAssets/demo.mp4.meta
0 → 100644
View file @
59695355
fileFormatVersion: 2
guid: ade7fc6240e97f94f99d2d12a9fe2b55
DefaultImporter:
externalObjects: {}
userData:
assetBundleName:
assetBundleVariant:
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment