Skip to content

Commit eafbdb4

Browse files
authored
Ranamed ToonEvAdjustmentCurve and its inspector classes. (#57)
1 parent 05a16cb commit eafbdb4

File tree

6 files changed

+492
-495
lines changed

6 files changed

+492
-495
lines changed

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

Lines changed: 129 additions & 130 deletions
Original file line numberDiff line numberDiff line change
@@ -1734,7 +1734,6 @@ MonoBehaviour:
17341734
m_ToonLightHiCutFilter: 1
17351735
m_ExposureAdjustmnt: 1
17361736
m_IgnorVolumeExposure: 1
1737-
m_HighCutFilter: 1000000
17381737
m_AnimationCurve:
17391738
serializedVersion: 2
17401739
m_Curve:
@@ -1748,8 +1747,8 @@ MonoBehaviour:
17481747
inWeight: 0
17491748
outWeight: 0
17501749
- serializedVersion: 3
1751-
time: -3.549773
1752-
value: -6.9683843
1750+
time: -3.7667682
1751+
value: -4.5156255
17531752
inSlope: 0.9999999
17541753
outSlope: 0.9999999
17551754
tangentMode: 0
@@ -1770,133 +1769,133 @@ MonoBehaviour:
17701769
m_RotationOrder: 4
17711770
m_ExposureArray:
17721771
- -10
1773-
- -9.999702
1774-
- -9.998809
1775-
- -9.997315
1776-
- -9.99522
1777-
- -9.992519
1778-
- -9.989211
1779-
- -9.985292
1780-
- -9.980762
1781-
- -9.975614
1782-
- -9.969847
1783-
- -9.963459
1784-
- -9.956448
1785-
- -9.948809
1786-
- -9.940539
1787-
- -9.931638
1788-
- -9.922102
1789-
- -9.911927
1790-
- -9.901112
1791-
- -9.889652
1792-
- -9.877547
1793-
- -9.864793
1794-
- -9.851386
1795-
- -9.837326
1796-
- -9.822607
1797-
- -9.807229
1798-
- -9.791187
1799-
- -9.774481
1800-
- -9.757105
1801-
- -9.7390585
1802-
- -9.720338
1803-
- -9.70094
1804-
- -9.680863
1805-
- -9.660105
1806-
- -9.63866
1807-
- -9.6165285
1808-
- -9.593706
1809-
- -9.57019
1810-
- -9.5459795
1811-
- -9.521069
1812-
- -9.495457
1813-
- -9.46914
1814-
- -9.442117
1815-
- -9.414383
1816-
- -9.385937
1817-
- -9.356775
1818-
- -9.326896
1819-
- -9.296295
1820-
- -9.264971
1821-
- -9.232921
1822-
- -9.200141
1823-
- -9.166629
1824-
- -9.132382
1825-
- -9.097399
1826-
- -9.061674
1827-
- -9.025207
1828-
- -8.987994
1829-
- -8.950032
1830-
- -8.91132
1831-
- -8.871853
1832-
- -8.831629
1833-
- -8.790646
1834-
- -8.748899
1835-
- -8.706388
1836-
- -8.66311
1837-
- -8.6190605
1838-
- -8.574238
1839-
- -8.528639
1840-
- -8.482261
1841-
- -8.4351015
1842-
- -8.387157
1843-
- -8.338427
1844-
- -8.288905
1845-
- -8.238591
1846-
- -8.187482
1847-
- -8.135574
1848-
- -8.082866
1849-
- -8.029353
1850-
- -7.9750338
1851-
- -7.9199057
1852-
- -7.8639655
1853-
- -7.80721
1854-
- -7.7496376
1855-
- -7.691244
1856-
- -7.6320276
1857-
- -7.5719852
1858-
- -7.511114
1859-
- -7.4494123
1860-
- -7.386875
1861-
- -7.3235025
1862-
- -7.2592893
1863-
- -7.194234
1864-
- -7.1283326
1865-
- -7.0615845
1866-
- -6.9939847
1867-
- -6.9219875
1868-
- -6.8327656
1869-
- -6.7261915
1870-
- -6.6034465
1871-
- -6.465713
1872-
- -6.3141713
1873-
- -6.150003
1874-
- -5.974389
1875-
- -5.788512
1876-
- -5.593553
1877-
- -5.3906927
1878-
- -5.1811132
1879-
- -4.965995
1880-
- -4.746521
1881-
- -4.5238705
1882-
- -4.2992277
1883-
- -4.0737715
1884-
- -3.848684
1885-
- -3.625147
1886-
- -3.404342
1887-
- -3.1874506
1888-
- -2.975653
1889-
- -2.770131
1890-
- -2.5720668
1891-
- -2.3826418
1892-
- -2.2030363
1893-
- -2.034432
1894-
- -1.8780117
1895-
- -1.7349548
1896-
- -1.6064434
1897-
- -1.49366
1898-
- -1.3977842
1899-
- -1.3199992
1772+
- -9.998777
1773+
- -9.995135
1774+
- -9.98911
1775+
- -9.98074
1776+
- -9.970062
1777+
- -9.957114
1778+
- -9.941935
1779+
- -9.924559
1780+
- -9.905025
1781+
- -9.883371
1782+
- -9.859634
1783+
- -9.833853
1784+
- -9.806062
1785+
- -9.776301
1786+
- -9.744608
1787+
- -9.711019
1788+
- -9.675571
1789+
- -9.638304
1790+
- -9.599252
1791+
- -9.558455
1792+
- -9.515949
1793+
- -9.471774
1794+
- -9.425964
1795+
- -9.378559
1796+
- -9.329596
1797+
- -9.27911
1798+
- -9.227141
1799+
- -9.173727
1800+
- -9.118904
1801+
- -9.062709
1802+
- -9.005181
1803+
- -8.946356
1804+
- -8.886273
1805+
- -8.824968
1806+
- -8.76248
1807+
- -8.698845
1808+
- -8.6341
1809+
- -8.568285
1810+
- -8.501435
1811+
- -8.433589
1812+
- -8.364783
1813+
- -8.295056
1814+
- -8.224444
1815+
- -8.152987
1816+
- -8.080719
1817+
- -8.007679
1818+
- -7.933905
1819+
- -7.859434
1820+
- -7.784304
1821+
- -7.708552
1822+
- -7.6322145
1823+
- -7.5553303
1824+
- -7.477936
1825+
- -7.40007
1826+
- -7.3217688
1827+
- -7.2430706
1828+
- -7.164012
1829+
- -7.0846314
1830+
- -7.0049667
1831+
- -6.925053
1832+
- -6.84493
1833+
- -6.764634
1834+
- -6.6842036
1835+
- -6.603675
1836+
- -6.5230856
1837+
- -6.4424744
1838+
- -6.3618774
1839+
- -6.281333
1840+
- -6.200878
1841+
- -6.12055
1842+
- -6.040387
1843+
- -5.9604254
1844+
- -5.880703
1845+
- -5.801258
1846+
- -5.722127
1847+
- -5.643348
1848+
- -5.5649586
1849+
- -5.486995
1850+
- -5.4094963
1851+
- -5.3324995
1852+
- -5.2560415
1853+
- -5.180159
1854+
- -5.104892
1855+
- -5.030276
1856+
- -4.9563484
1857+
- -4.8831477
1858+
- -4.8107104
1859+
- -4.7390747
1860+
- -4.668278
1861+
- -4.598357
1862+
- -4.5293493
1863+
- -4.4598794
1864+
- -4.387151
1865+
- -4.311269
1866+
- -4.232429
1867+
- -4.1508274
1868+
- -4.06666
1869+
- -3.9801228
1870+
- -3.8914118
1871+
- -3.800722
1872+
- -3.7082498
1873+
- -3.6141913
1874+
- -3.518742
1875+
- -3.4220982
1876+
- -3.324455
1877+
- -3.226009
1878+
- -3.1269555
1879+
- -3.0274909
1880+
- -2.9278107
1881+
- -2.8281112
1882+
- -2.7285876
1883+
- -2.6294358
1884+
- -2.5308523
1885+
- -2.4330325
1886+
- -2.3361726
1887+
- -2.2404683
1888+
- -2.1461148
1889+
- -2.053309
1890+
- -1.9622462
1891+
- -1.8731225
1892+
- -1.7861335
1893+
- -1.7014754
1894+
- -1.6193433
1895+
- -1.5399342
1896+
- -1.463443
1897+
- -1.3900664
1898+
- -1.3199997
19001899
m_Max: -1.32
19011900
m_Min: -10
19021901
m_DebugUI: 0

com.unity.toonshader/Editor/ModelToonEvAdjustmentInspector.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,7 @@ public override void OnInspectorGUI()
8888
var curve2 = obj.m_AnimationCurve;
8989
if (buttonIsPressed)
9090
{
91-
curve2 = ToonEvAdjustmentCurve.DefaultAnimationCurve();
91+
curve2 = SceneToonEvAdjustment.DefaultAnimationCurve();
9292
}
9393
if (EditorGUI.EndChangeCheck())
9494
{

0 commit comments

Comments
 (0)