Skip to content

Commit

Permalink
Cleanup redundant ui_tooltip
Browse files Browse the repository at this point in the history
  • Loading branch information
papadanku committed Jul 5, 2024
1 parent f2e516e commit 3bbff30
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 9 deletions.
3 changes: 1 addition & 2 deletions shaders/cChromaticity.fx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,7 @@
*/

uniform int _Select <
ui_label = "Method";
ui_tooltip = "Select Chromaticity";
ui_label = "Chromaticity Method";
ui_type = "combo";
ui_items = " Length (XY)\0 Length (XYZ)\0 Average (XY)\0 Average (XYZ)\0 Sum (XY)\0 Sum (XYZ)\0 Max (XY)\0 Max (XYZ)\0 Ratio (XY)\0 Spherical (XY)\0 Hue-Saturation (HSI)\0 Hue-Saturation (HSL)\0 Hue-Saturation (HSV)\0 CoCg (XY)\0 CrCb (XY)\0";
> = 0;
Expand Down
3 changes: 1 addition & 2 deletions shaders/cGrayscale.fx
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,8 @@
*/

uniform int _Select <
ui_label = "Method";
ui_label = "Luminance Method";
ui_type = "combo";
ui_tooltip = "Select Luminance";
ui_items = " Average\0 Min\0 Median\0 Max\0 Length\0 None\0";
> = 0;

Expand Down
4 changes: 1 addition & 3 deletions shaders/shared/cCamera.fxh
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@
uniform float _CShadeExposureBias <
ui_category = "Output: AutoExposure";
ui_label = "Exposure bias";
ui_tooltip = "Optional manual bias ";
ui_type = "slider";
ui_step = 0.001;
ui_min = 0.0;
Expand All @@ -16,9 +15,8 @@

uniform float _CShadeExposureSmoothingSpeed <
ui_category = "Output: AutoExposure";
ui_label = "Smoothing";
ui_label = "Smoothing Speed";
ui_type = "slider";
ui_tooltip = "Exposure smoothing speed";
ui_min = 0.1;
ui_max = 1.0;
> = 0.5;
Expand Down
4 changes: 2 additions & 2 deletions shaders/shared/cTonemap.fxh
Original file line number Diff line number Diff line change
Expand Up @@ -133,8 +133,8 @@
ui_label = "Tonemap Operator";
ui_tooltip = "Select a tonemap operator for the output";
ui_type = "combo";
ui_items = "None\0Reinhard\0Reinhard Squared\0Standard\0Exponential\0ACES Filmic Approximation\0";
> = 0;
ui_items = "None\0Reinhard\0Reinhard Squared\0Standard\0Exponential\0ACES Filmic Curve\0";
> = 5;

float3 ApplyTonemap(float3 HDR)
{
Expand Down

0 comments on commit 3bbff30

Please sign in to comment.