상품 설명
Unity2019まで動作確認してあります。Unityのバージョン更新によって動かなくなった場合にサポートはしかねます。対応した場合は告知します。
---
月に照らされた夜のビル群を観る夜景のシェーダです。レイマーチングで描画しているので、3Dに見えます。
アクセサリや服やワールドオブジェクト・背景として使うことを想定していますが、発想次第でお好きにお使いください。
多分GPU Instancing対応してる気がします。
以下のワールドで使っているので見学できます。
Moonlit City Night Raymarching
https://vrchat.com/home/world/wrld_768af139-1ed6-444a-8d45-89abb2e5562e
README
README
## Author
wraikny
Twitter: @wraikny
email: [email protected]
## Caution
本配布物を作者に無断での再配布・公開を禁止します。
解析・改変はご自由にどうぞ。
ワールドギミックとして使用する場合は、クレジット表記(ex. Author:wraikny)を行ってください。
I prohibit redistribution / publication of this distribution without notice to me.
Please feel free to analyze / modify.
When using it as a world gimmick, please do credit notation (ex. Author: wraikny).
## 使用例
サンプルのMaterial/prefabが置いてあります。
ダイナミックボーンと組み合わせてアクセサリーにしたり、ワールドオブジェクトやワールド背景等として使えます。
A sample Material / prefab is placed.
It can be used as an accessory in combination with a dynamic bone, as a world object or background etc.
Properties
## Properties
### Raymarching
Marching Loop Times
ループ回数。多いほど奥まで描画できるが、負荷が大きくなる。
The larger the number is, the deepr it is rendered, but it may be heavy.
Marching Coordinate
座標系(Object, WorldXZ, World)
### City
Position Offset
街の位置のオフセット
The offset of the position of the city.
Area Size
街の1区画の大きさ
The size of one section of the city.
Area Height
街の1区画の高さ
The height of one section of the city.
Road width
道の幅
The width of roads.
Building Count
1区画あたりのビルの数
The number of the buildings per one section of the city.
Random Height Range
ビルの高さがランダムに上下する幅
The random height range of buildings.
### Buildings Color
Building Color
ビルの色
Building Light Color
ビルの明かりの色
Building Light Rate
ビルの明かりの割合
The rate of the building lights.
Building Light Span
ビルの明かりの間隔
The span of the building lights.
Building Line Light Rate
ビルのライン状の明かりの割合
The rate of lined building lights.
### Atmosphere
Fog Minimum Length
フォグの最小距離
Fog Maximum Length
フォグの最大距離
Fog Color
フォグの色
Start Twinkle Speed
星が瞬く速度
Moon Direction Type
月の向きの種類。DirectionalLightの向き、または指定した向き。
The type of the direction of the moon. The direction of the DirectionalLight or fixed direction.
Moon Direction
月の向きを指定する際の向き。
The direction of the moon when it fixed.
Moon Size
月の大きさ。月はディレクショナルライトのある方向に現れます。
The size of the moon. The moon appears at the direction of the directional light.
Moon Blur Strength
月の光をぼかす強さ。
The blur strength of the moon light.
Moon Color
月の色
Moon Texture
月のテクスチャ
### Others
Floor
キューブで使うといい感じに床ができる。
It makes a nice floor when used in a cube mesh.
Floor Color
Cull Mode
カリング
EnableInstancing
모든 리뷰
더보기리뷰 등록
리뷰를 작성하려면 로그인이 필요합니다.
로그인하고 리뷰 쓰기