SungJJinKang / UE4_Interactive_Wind_and_Vegetation_in_God_of_War

"Interactive Wind and Vegetation in 'God of War'" in Unreal Engine 4

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

"Interactive Wind and Vegetation in 'God of War'" in Unreal Engine 4

This project implement Interactive Wind and Vegetation in 'God of War' using Unreal Engine 4

Implemented features

Interactive Wind Map ( Using GPU )

RenderTargetTexture is used.
Convert uv of the renderTargetTexture to location in world space and write wind vector value to texture based on location in world space.

There is three render target texture.
First one is used by wind maker to write wind vector to render target texture. ( Additive material is used )
Second one is used as target texture of post process shading. ( Blur wind map texture, Add static wind vector to wind map )
Thirld one is used for read from vegetation objects. ( Written wind vector is used in vertex shading of vegetation objects ( Tree, Grass.... ) ) ( Double Buffering concept. Texture written by wind maker is read at next frame for performance )

Test Video 1

sdfasdfsaf
gifff
giffffffffffffffffff
sdf
sdfdsf

TO DO

  • Move wind map texture when wind map origin is changed

About

"Interactive Wind and Vegetation in 'God of War'" in Unreal Engine 4

License:MIT License


Languages

Language:C++ 94.4%Language:C# 5.2%Language:C 0.4%