diff --git a/src/en/webgal-script/animation.md b/src/en/webgal-script/animation.md index b175582c2..4714968ca 100644 --- a/src/en/webgal-script/animation.md +++ b/src/en/webgal-script/animation.md @@ -88,6 +88,13 @@ The following table explains each property: | position | Position offset | | rotation | Rotation angle, in radians | | blur | Gaussian blur radius | +| brightness | Amount of brightness | +| contrast | Amount of contrast | +| saturation | Amount of saturation | +| gamma | Amount of gamma | +| colorRed | Amount of red color, range 0-255 | +| colorGreen | Amount of green color, range 0-255 | +| colorBlue | Amount of blue color, range 0-255 | | duration | Duration of this time slice, in milliseconds (ms) | | oldFilm | Old film effect, 0 to disable, 1 to enable | | dotFilm | Dot film effect, 0 to disable, 1 to enable | diff --git a/src/en/webgal-script/bg-and-figure.md b/src/en/webgal-script/bg-and-figure.md index af7abfa49..952172395 100644 --- a/src/en/webgal-script/bg-and-figure.md +++ b/src/en/webgal-script/bg-and-figure.md @@ -93,7 +93,7 @@ For a description of the effect fields, please refer to [Animation](animation.md You can set some transform and filter effects for the figure when setting the figure. Here is an example: ``` -changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next; +changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"brightness":1,"contrast":1,"saturation":1,"gamma":1,"colorRed":255,"colorGreen":255,"colorBlue":255,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next; ``` ## Set Transform Effects for Existing Figures diff --git a/src/ja/webgal-script/animation.md b/src/ja/webgal-script/animation.md index 1eec6d382..8ec6af4c8 100644 --- a/src/ja/webgal-script/animation.md +++ b/src/ja/webgal-script/animation.md @@ -88,6 +88,13 @@ setAnimation:enter-from-bottom -target=fig-center -next; | position | 位置オフセット | | rotation | 回転角度、単位はラジアン | | blur | ガウスぼかしの半径 | +| brightness | 輝度 | +| contrast | コントラスト比 | +| saturation | 彩度 | +| gamma | ガンマ | +| colorRed | 赤の量, 範囲は 0-255 | +| colorGreen | 緑の量, 範囲は 0-255 | +| colorBlue | 青の量, 範囲は 0-255 | | duration | このタイムスライスの持続時間、単位はミリ秒 (ms) | | oldFilm | オールドフィルム効果、0 はオフ、1 はオン | | dotFilm | ドット状のフィルム効果、0 はオフ、1 はオン | diff --git a/src/ja/webgal-script/bg-and-figure.md b/src/ja/webgal-script/bg-and-figure.md index 6b2c63e26..6c7d20ae6 100644 --- a/src/ja/webgal-script/bg-and-figure.md +++ b/src/ja/webgal-script/bg-and-figure.md @@ -93,7 +93,7 @@ unlockCg:xgmain.jpeg -name=星光咖啡馆与死神之蝶 -series=1; 立ち絵を設定するときに、立ち絵にいくつかの変換とフィルターエフェクトを設定できます。以下に例を示します。 ``` -changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next; +changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"brightness":1,"contrast":1,"saturation":1,"gamma":1,"colorRed":255,"colorGreen":255,"colorBlue":255,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next; ``` ## 既存の立ち絵に変換エフェクトを設定する diff --git a/src/webgal-script/animation.md b/src/webgal-script/animation.md index ffff28e44..c680e2f3e 100644 --- a/src/webgal-script/animation.md +++ b/src/webgal-script/animation.md @@ -88,6 +88,13 @@ setAnimation:enter-from-bottom -target=fig-center -next; | position | 位置偏移 | | rotation | 旋转角度,单位为弧度 | | blur | 高斯模糊半径 | +| brightness | 调节亮度 | +| contrast | 调节对比度 | +| saturation | 调节饱和度 | +| gamma | 调节伽马值 | +| colorRed | 颜色分量:红色, 范围0-255 | +| colorGreen | 颜色分量:绿色, 范围0-255 | +| colorBlue | 颜色分量:蓝色, 范围0-255 | | duration | 这个时间片的持续时间,单位为毫秒(ms) | | oldFilm | 老电影效果,0代表关闭,1代表开启 | | dotFilm | 点状电影效果,0代表关闭,1代表开启 | diff --git a/src/webgal-script/bg-and-figure.md b/src/webgal-script/bg-and-figure.md index 6f2502d97..1d36a0334 100644 --- a/src/webgal-script/bg-and-figure.md +++ b/src/webgal-script/bg-and-figure.md @@ -93,7 +93,7 @@ unlockCg:xgmain.jpeg -name=星光咖啡馆与死神之蝶 -series=1; 你可以在设置立绘的时候就为立绘设置一些变换和滤镜效果,以下是一个示例: ``` -changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next; +changeFigure:stand.png -transform={"alpha":1,"position":{"x":0,"y":500},"scale":{"x":1,"y":1},"rotation":0,"blur":0,"brightness":1,"contrast":1,"saturation":1,"gamma":1,"colorRed":255,"colorGreen":255,"colorBlue":255,"oldFilm":0,"dotFilm":0,"reflectionFilm":0,"glitchFilm":0,"rgbFilm":0,"godrayFilm":0} -next; ``` ## 为已有的立绘设置变换效果