Skip to content

Commit 5d27eeb

Browse files
authored
Feature/task 676 2 vollume system toone ev curve (#29)
* Testing updating by SRP callback OnBeginCameraRendering() * narrowly started to work with awkward UI. * Downgraded some test framework for 2019.4 Universal Graphics tests to avoid test failure. * down graded some packages in URP 2019.4 test project to avoid failure in 2021.2. * disabled 2021.2 in the urp graphics test to avoid errors. * ditto for windows. * Improved ToonEvAdjustmentCurve UI. * Updated the sample scene for Toon EV Curve. * updated CHANGELOG.md [skip ci[ * Deleted unnecessary TooEvAdjusCurvetmentInspector.cs as the curve works as a VolumeProfile. Co-authored-by: higeometry <[email protected]>
1 parent 4dbcbe0 commit 5d27eeb

File tree

12 files changed

+159
-402
lines changed

12 files changed

+159
-402
lines changed

.yamato/osx_metal-urp-2019.4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ unity_versions:
77
- name: 2019.4
88
- name: 2020.3
99
- name: 2021.1
10-
- name: 2021.2
10+
# - name: 2021.2
1111
# - name: trunk
1212
---
1313
{% for test_project in test_projects %}

.yamato/win_dx11-urp-2019.4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ unity_versions:
77
- name: 2019.4
88
- name: 2020.3
99
- name: 2021.1
10-
- name: 2021.2
10+
# - name: 2021.2
1111
---
1212
{% for test_project in test_projects %}
1313
{% for unity_version in unity_versions %}

.yamato/win_vulkan_urp-2019.4.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ unity_versions:
77
- name: 2019.4
88
- name: 2020.3
99
- name: 2021.1
10-
- name: 2021.2
10+
# - name: 2021.2
1111
---
1212
{% for test_project in test_projects %}
1313
{% for unity_version in unity_versions %}

HDRP-DefaultVolumeProject-2020.3/Assets/SampleSceneAssets/Settings/Volumes/VolumeGlobal.asset

Lines changed: 15 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,7 @@ MonoBehaviour:
1313
m_Name: MotionBlur
1414
m_EditorClassIdentifier:
1515
active: 1
16+
m_AdvancedMode: 0
1617
quality:
1718
m_OverrideState: 1
1819
m_Value: 2
@@ -73,6 +74,7 @@ MonoBehaviour:
7374
m_Name: Bloom
7475
m_EditorClassIdentifier:
7576
active: 1
77+
m_AdvancedMode: 0
7678
quality:
7779
m_OverrideState: 1
7880
m_Value: 2
@@ -128,6 +130,7 @@ MonoBehaviour:
128130
m_Name: HDRISky
129131
m_EditorClassIdentifier:
130132
active: 1
133+
m_AdvancedMode: 0
131134
rotation:
132135
m_OverrideState: 1
133136
m_Value: 116
@@ -274,6 +277,7 @@ MonoBehaviour:
274277
m_Name: FilmGrain
275278
m_EditorClassIdentifier:
276279
active: 1
280+
m_AdvancedMode: 0
277281
type:
278282
m_OverrideState: 1
279283
m_Value: 0
@@ -303,12 +307,10 @@ MonoBehaviour:
303307
m_Name:
304308
m_EditorClassIdentifier:
305309
active: 1
310+
m_AdvancedMode: 0
306311
skyType:
307312
m_OverrideState: 1
308313
m_Value: 1
309-
cloudType:
310-
m_OverrideState: 0
311-
m_Value: 0
312314
skyAmbientMode:
313315
m_OverrideState: 1
314316
m_Value: 1
@@ -328,6 +330,7 @@ MonoBehaviour:
328330
m_Name: ContactShadows
329331
m_EditorClassIdentifier:
330332
active: 1
333+
m_AdvancedMode: 0
331334
quality:
332335
m_OverrideState: 1
333336
m_Value: 2
@@ -393,6 +396,7 @@ MonoBehaviour:
393396
m_Name: Fog
394397
m_EditorClassIdentifier:
395398
active: 1
399+
m_AdvancedMode: 0
396400
quality:
397401
m_OverrideState: 1
398402
m_Value: 1
@@ -498,6 +502,9 @@ MonoBehaviour:
498502
directionalLightsOnly:
499503
m_OverrideState: 0
500504
m_Value: 0
505+
filter:
506+
m_OverrideState: 0
507+
m_Value: 0
501508
--- !u!114 &4566301752631259820
502509
MonoBehaviour:
503510
m_ObjectHideFlags: 3
@@ -511,6 +518,7 @@ MonoBehaviour:
511518
m_Name: ScreenSpaceRefraction
512519
m_EditorClassIdentifier:
513520
active: 1
521+
m_AdvancedMode: 0
514522
screenFadeDistance:
515523
m_OverrideState: 1
516524
m_Value: 0.001
@@ -529,6 +537,7 @@ MonoBehaviour:
529537
m_Name: AmbientOcclusion
530538
m_EditorClassIdentifier:
531539
active: 1
540+
m_AdvancedMode: 0
532541
quality:
533542
m_OverrideState: 1
534543
m_Value: 2
@@ -624,6 +633,7 @@ MonoBehaviour:
624633
m_Name: Exposure
625634
m_EditorClassIdentifier:
626635
active: 1
636+
m_AdvancedMode: 0
627637
mode:
628638
m_OverrideState: 1
629639
m_Value: 4
@@ -780,6 +790,7 @@ MonoBehaviour:
780790
m_Name: Tonemapping
781791
m_EditorClassIdentifier:
782792
active: 1
793+
m_AdvancedMode: 0
783794
mode:
784795
m_OverrideState: 1
785796
m_Value: 2
@@ -832,6 +843,7 @@ MonoBehaviour:
832843
m_Name: HDShadowSettings
833844
m_EditorClassIdentifier:
834845
active: 1
846+
m_AdvancedMode: 0
835847
maxShadowDistance:
836848
m_OverrideState: 1
837849
m_Value: 70

HDRP-DefaultVolumeProject-2020.3/Assets/Scenes/SampleScene.unity

Lines changed: 2 additions & 173 deletions
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ RenderSettings:
3838
m_ReflectionIntensity: 1
3939
m_CustomReflection: {fileID: 0}
4040
m_Sun: {fileID: 0}
41-
m_IndirectSpecularColor: {r: 1480.2773, g: 1833.5312, b: 2427.2754, a: 1}
41+
m_IndirectSpecularColor: {r: 1481.7754, g: 1835.8867, b: 2430.4492, a: 1}
4242
m_UseRadianceAmbientProbe: 0
4343
--- !u!157 &3
4444
LightmapSettings:
@@ -17741,7 +17741,7 @@ Camera:
1774117741
height: 1
1774217742
near clip plane: 0.3
1774317743
far clip plane: 1000
17744-
field of view: 33.398487
17744+
field of view: 33.39849
1774517745
orthographic: 0
1774617746
orthographic size: 5
1774717747
m_Depth: 0
@@ -26237,7 +26237,6 @@ GameObject:
2623726237
- component: {fileID: 2035111235}
2623826238
- component: {fileID: 2035111234}
2623926239
- component: {fileID: 2035111237}
26240-
- component: {fileID: 2035111236}
2624126240
m_Layer: 9
2624226241
m_Name: Directional Light Sun
2624326242
m_TagString: Untagged
@@ -26321,176 +26320,6 @@ Transform:
2632126320
m_Father: {fileID: 1377783}
2632226321
m_RootOrder: 0
2632326322
m_LocalEulerAnglesHint: {x: 72.021, y: 328.463, z: 210.952}
26324-
--- !u!114 &2035111236
26325-
MonoBehaviour:
26326-
m_ObjectHideFlags: 0
26327-
m_CorrespondingSourceObject: {fileID: 0}
26328-
m_PrefabInstance: {fileID: 0}
26329-
m_PrefabAsset: {fileID: 0}
26330-
m_GameObject: {fileID: 2035111233}
26331-
m_Enabled: 1
26332-
m_EditorHideFlags: 0
26333-
m_Script: {fileID: 11500000, guid: db8edd5c572b6e648974dac4815d5619, type: 3}
26334-
m_Name:
26335-
m_EditorClassIdentifier:
26336-
m_ExposureAdjustmnt: 1
26337-
m_HighCutFilter: 1000000
26338-
m_AnimationCurve:
26339-
serializedVersion: 2
26340-
m_Curve:
26341-
- serializedVersion: 3
26342-
time: -11.920764
26343-
value: -9.620428
26344-
inSlope: 0.73847175
26345-
outSlope: 0.73847175
26346-
tangentMode: 34
26347-
weightedMode: 0
26348-
inWeight: 0
26349-
outWeight: 0.33333334
26350-
- serializedVersion: 3
26351-
time: -0.11631012
26352-
value: -0.90317285
26353-
inSlope: 0.73847175
26354-
outSlope: 0.73847175
26355-
tangentMode: 34
26356-
weightedMode: 0
26357-
inWeight: 0.33333334
26358-
outWeight: 0
26359-
m_PreInfinity: 2
26360-
m_PostInfinity: 2
26361-
m_RotationOrder: 4
26362-
m_ExposureArray:
26363-
- -9.620428
26364-
- -9.551788
26365-
- -9.483149
26366-
- -9.414509
26367-
- -9.345869
26368-
- -9.277228
26369-
- -9.20859
26370-
- -9.139949
26371-
- -9.07131
26372-
- -9.002669
26373-
- -8.934031
26374-
- -8.86539
26375-
- -8.796751
26376-
- -8.72811
26377-
- -8.659471
26378-
- -8.590831
26379-
- -8.522191
26380-
- -8.453551
26381-
- -8.384912
26382-
- -8.316272
26383-
- -8.247632
26384-
- -8.178992
26385-
- -8.110352
26386-
- -8.041713
26387-
- -7.973072
26388-
- -7.904433
26389-
- -7.8357925
26390-
- -7.7671533
26391-
- -7.698513
26392-
- -7.6298733
26393-
- -7.5612335
26394-
- -7.492594
26395-
- -7.423954
26396-
- -7.3553143
26397-
- -7.2866745
26398-
- -7.2180347
26399-
- -7.1493945
26400-
- -7.080755
26401-
- -7.012115
26402-
- -6.9434757
26403-
- -6.8748355
26404-
- -6.806196
26405-
- -6.7375555
26406-
- -6.6689157
26407-
- -6.600276
26408-
- -6.531636
26409-
- -6.4629965
26410-
- -6.3943567
26411-
- -6.325717
26412-
- -6.257077
26413-
- -6.1884375
26414-
- -6.1197977
26415-
- -6.051158
26416-
- -5.982518
26417-
- -5.9138775
26418-
- -5.8452377
26419-
- -5.776598
26420-
- -5.707958
26421-
- -5.6393185
26422-
- -5.5706787
26423-
- -5.502039
26424-
- -5.433399
26425-
- -5.3647594
26426-
- -5.2961197
26427-
- -5.22748
26428-
- -5.15884
26429-
- -5.0902004
26430-
- -5.0215607
26431-
- -4.9529204
26432-
- -4.8842807
26433-
- -4.815641
26434-
- -4.7470007
26435-
- -4.678361
26436-
- -4.609721
26437-
- -4.5410814
26438-
- -4.472441
26439-
- -4.4038014
26440-
- -4.3351617
26441-
- -4.266522
26442-
- -4.197882
26443-
- -4.1292424
26444-
- -4.0606027
26445-
- -3.9919624
26446-
- -3.9233227
26447-
- -3.854683
26448-
- -3.7860432
26449-
- -3.7174034
26450-
- -3.6487641
26451-
- -3.580124
26452-
- -3.5114837
26453-
- -3.4428444
26454-
- -3.3742042
26455-
- -3.3055644
26456-
- -3.2369246
26457-
- -3.168285
26458-
- -3.0996447
26459-
- -3.0310054
26460-
- -2.9623652
26461-
- -2.8937259
26462-
- -2.8250856
26463-
- -2.7564464
26464-
- -2.6878061
26465-
- -2.619166
26466-
- -2.5505261
26467-
- -2.4818869
26468-
- -2.4132466
26469-
- -2.3446064
26470-
- -2.2759671
26471-
- -2.2073278
26472-
- -2.1386876
26473-
- -2.0700474
26474-
- -2.001408
26475-
- -1.9327679
26476-
- -1.8641281
26477-
- -1.7954884
26478-
- -1.7268486
26479-
- -1.6582084
26480-
- -1.5895691
26481-
- -1.5209284
26482-
- -1.4522886
26483-
- -1.3836489
26484-
- -1.3150091
26485-
- -1.2463694
26486-
- -1.1777296
26487-
- -1.1090899
26488-
- -1.0404501
26489-
- -0.9718094
26490-
- -0.90317285
26491-
m_Max: -0.11631012
26492-
m_Min: -11.920764
26493-
m_DebugUI: 0
2649426323
--- !u!114 &2035111237
2649526324
MonoBehaviour:
2649626325
m_ObjectHideFlags: 0

TestProjects/UniversalUTS_GraphicsTest-2019.4/Packages/packages-lock.json

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -201,14 +201,11 @@
201201
"url": "https://packages.unity.com"
202202
},
203203
"com.unity.xr.management": {
204-
"version": "4.0.1",
204+
"version": "3.2.17",
205205
"depth": 1,
206206
"source": "registry",
207207
"dependencies": {
208-
"com.unity.modules.subsystems": "1.0.0",
209-
"com.unity.modules.vr": "1.0.0",
210-
"com.unity.modules.xr": "1.0.0",
211-
"com.unity.xr.legacyinputhelpers": "2.1.7",
208+
"com.unity.xr.legacyinputhelpers": "2.1.2",
212209
"com.unity.subsystemregistration": "1.0.6"
213210
},
214211
"url": "https://packages.unity.com"
Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
m_EditorVersion: 2019.4.29f1
2-
m_EditorVersionWithRevision: 2019.4.29f1 (0eeae20b1d82)
1+
m_EditorVersion: 2019.4.21f1
2+
m_EditorVersionWithRevision: 2019.4.21f1 (b76dac84db26)

com.unity.toonshader/CHANGELOG.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,12 @@
11
# Changelog
2-
## [0.2.0-preview] - 2021-08-06
3-
* HDRP: Toon EV adjutment curve
2+
## [0.2.0-preview] - 2021-08-15
3+
* HDRP: Toon EV adjutment curve as a SRP VolumeComponent.
44
* Legacy, Universal and HDRP: Some texture samplers,such as _MainTex, _NormalMap, _1st_ShadeMap and _2nd_ShadeMap, are shared by 1 sampler, sampler_MainTex, in order to avoid sampler number exceeding errors.
55
* Integrated Textures feature is removed from all the render pipeline versions instead of above.
66
* HDRP and URP are compatible with SRP Batcher.
7-
* Legacy, Universal and HDRP: Added image comparison tests with Vulkan API.
8-
* HDRP: Compatible with light probes.
9-
* Added a material converter from Unitychan Toon Shader to Unity Toon Shader. (experimental)
7+
* Legacy, Universal and HDRP: Added image comparison tests for Windows Vulkan API.
8+
* HDRP: Added light prob compatibilty.
9+
* Added a material converter from Unitychan Toon Shader newer than 2.0.7 to Unity Toon Shader. (Experimental)
1010

1111
## [0.1.0-preview] - 2021-07-07
1212
* HDRP: Emission started to work.

0 commit comments

Comments
 (0)