This website works better with JavaScript.
Home
Explore
Help
Register
Sign In
laurids
/
GWConquest
Watch
1
Star
0
Fork
0
Code
Issues
0
Pull Requests
0
Projects
0
Releases
0
Wiki
Activity
Browse Source
Fix: Shadow Bugs
master
laurids
2 years ago
parent
567b4ba3ab
commit
3c13680414
3 changed files
with
16 additions
and
2 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+1
-1
Assets/GWConquest/Materials/Planets/Yeesveer.mat
+13
-0
Assets/Le Tai's Asset/TrueShadow/Scripts/ShadowSettingSnapshot.cs
+2
-1
ProjectSettings/ProjectSettings.asset
+ 1
- 1
Assets/GWConquest/Materials/Planets/Yeesveer.mat
View File
@ -104,7 +104,7 @@ Material:
- _Citiesoffset: 0
- _Cloudspeed: 1
- _Cutoff: 0.588
- _Desaturation: 0
- _Desaturation: 0
.14
- _DetailNormalMapScale: 1
- _DstBlend: 0
- _EmissionScale: 0
+ 13
- 0
Assets/Le Tai's Asset/TrueShadow/Scripts/ShadowSettingSnapshot.cs
View File
@ -118,6 +118,19 @@ class ShadowSettingSnapshot
textureHash
)
;
break
;
case
Text
text
:
var
textHash
=
HashUtils
.
CombineHashCodes
(
text
.
text
.
GetHashCode
(
)
,
text
.
font
.
GetHashCode
(
)
,
text
.
fontSize
,
(
int
)
text
.
lineSpacing
*
1
0
0
,
(
int
)
text
.
alignment
)
;
hash
=
HashUtils
.
CombineHashCodes
(
commonHash
,
textHash
)
;
break
;
default
:
hash
=
commonHash
;
break
;
+ 2
- 1
ProjectSettings/ProjectSettings.asset
View File
@ -152,7 +152,8 @@ PlayerSettings:
resolutionScalingMode: 0
androidSupportedAspectRatio: 1
androidMaxAspectRatio: 2.1
applicationIdentifier: {}
applicationIdentifier:
Standalone: com.miucat.GalacticWarsConquest
buildNumber:
Standalone: 0
iPhone: 0
Write
Preview
Loading…
Cancel
Save