RPG Developer Bakin

RPG Developer Bakin

评价数不足
OceanWave_KAI_2 & 30
   
奖励
收藏
已收藏
取消收藏
标签: Other
文件大小
发表于
179.169 MB
2024 年 3 月 6 日 下午 5:39
1 项改动说明 ( 查看 )

订阅以下载
OceanWave_KAI_2 & 30

描述
https://youtu.be/0fTvR-C5-0s

////////////////////////////////////
//使い方 How to use
////////////////////////////////////
BAKIN v1.8以降で動作します。
Works with BAKIN v1.8 or later.

1.準備(Preparation)
プロジェクト内の[OceanWave_KAI]フォルダーにあるファイルをBAKINインストールフォルダのシェーダー>ビルトインに入れます。
Put the files in the [OceanWave_KAI] folder in the project into the shader built-in in the BAKIN installation folder.

OceanWave_KAI_2.cg
OceanWave_KAI_2.txt
OceanWave_KAI_30.cg
OceanWave_KAI_30.txt

Place the files in the BAKIN installation folder.
\SteamLibrary\steamapps\common\BAKIN\lib\sysresource\shader\Builtin
-----------------
1.PCでサブスクライブ
2.BAKINを起動し、ワークショップでZIPをダウンロード
3.PCに戻り、ZIPを解凍
4.プロジェクトフォルダ内の[OceanWave_KAI]
フォルダの4つのファイルを、
\SteamLibrary\steamapps\common\BAKIN\lib\sysresource\shader\Builtin
へコピー&ペースト
5.BAKINでプロジェクトを読み込む

1. Subscribe on PC
2.Launch BAKIN and download it in the workshop
3. Return to PC and unzip the ZIP
4. [OceanWave_KAI] in the project folder
Copy and paste the four files in the folder to
\SteamLibrary\steamapps\common\BAKIN\lib\sysresource\shader\Builtin
5.Load the project with BAKIN

----------------
// OceanWave_KAI
// shader customized by SWFFF
// https://twitter.com/LTK00

// このシェーダーをゲームで使用する場合は上記3行のクレジットを記入してください
// If you use this shader in your game, please fill in the credits in the 3 lines above.
// オリジナルシェーダー.original shader(trans normal water)
//株式会社スマイルブーム (SmileBoom Co.Ltd.)()
// RPG_Developer_Bakin
// https://psteamproxy.yuanyoumao.com/app/1036640/RPG_Developer_Bakin/

-------------------
3.振幅調整[ amplitude ] Default value 0.002
OceanWave_KAI_2 
OceanWave_KAI_30 
上記の違いはamplitudeの値がデフォルトで0.002か0.030かの差だけです。
// [ 145 行目あたり Around line 145 ]
// [ amplitude ] の値をで波の大きさ、振幅を調整します。Y軸拡大でもほぼ同じ意味になり、事実上ソースコード編集は必要ないです。
// Adjust the size and amplitude of the wave with the [Amplitude] value.Expanding the Y axis has the same meaning, and there is virtually no need to edit the source code.
// 0.000=flat 0.010=Big wave Default value 0.002

// 4 高さ調整 [ totalHeight ]Default value -0.0
// [ 174行目あたり Around line 174 ]
// [ totalHeight ] で波の高さを調整します。
// Adjust the wave height with [ totalHeight ] value.

うねりの大きさ
[ 155行目あたり Around line 155]
lacunarity = 3.0 大きなうねり,4.0 細かなうねり
lacunarity = 3.0 large undulations, 4.0 fine undulations
const float lacunarity = 3.5;

テクスチャの大きさ(0.18を変更
[ 276行目あたり Around line 276]
wld.xz * (0.3 テクスチャの大きさ texture size
baseUV.xy = wld.xz * (0.18 / (UVAL(size) + 0.0001));


5.GUIDの変更 Change GUID
[ 73行目あたり Around line 73 ]
改変、及び複製する際は、GUIDを変更する必要があります。桁が同じなら基本何でも良いです。
When modifying or copying, it is necessary to change the GUID. Basically anything is fine as long as the digits are the same.

メモ
セルラーノイズも入れたかったですが、重くなりすぎるため入れていません。
無駄なコードが残っている可能性もあります。


////////////////////////////////////
// 改変自由&公式ディスコード共有アップロード ライセンス 使用上の注意 License & Usage Notes
////////////////////////////////////
// 改変したものはRPGBAKIN公式ディスコードの「共有」項目やその他BAKINコミュニティへ適当にアップロードしてください。
// https://discord.com/channels/475944892569223168/1082293101718163486
//
//改変 OK
//改変再配布 OK
//ゲームへの組み込みでの販売 OK
//改変でもシェーダー単体での販売 NO
// SGB & BAKIN のみでの使用、又は将来、SGB & BAKIN から出力されるUNITYのみ使用可能
//
//If you have modified this shader even better, please upload it to the "Share" section of the RPGBAKIN official discord.
// https://discord.com/channels/475944892569223168/1082293101718163486
//
//Modification OK
//Modification and redistribution OK
//Sale by incorporating into the game OK
//Even if it is modified, the shader is sold separately NO.
// Can be used only with SGB & BAKIN, or in the future, only UNITY output from SGB & BAKIN
////////////////////////////////////////

热门讨论 查看全部(1)
0
2024 年 9 月 27 日 下午 4:04
red material
Bapak_Baskoro