Home 3D Art Showcase & Critiques

[Released] [UE4] Modular Japanese Temple

kelheor
polycounter lvl 5
Offline / Send Message
Pinned
kelheor polycounter lvl 5
This project was started a couple of years ago but stopped due to lack of experience. Then I tried to recreate everything from scratch during the Artstation challenge, but again, I wasn't able to finish it due to personal circumstances. Now I finished my previous project and decided to finally complete this environment.

Update 4.02.20
The project now finally finished.

Artstation: https://www.artstation.com/artwork/W2qAAv

Playable demo: https://drive.google.com/open?id=1vOXxJHcd9A3z1tZpds2ue8TZNmKweuJt

UE4 Marketplace: https://www.unrealengine.com/marketplace/en-US/product/modular-japanese-temple

Features:
- Environment, inspired by real Japanese temple - Byōdō-in
- Fully dynamic 24-hours lighting
- Global Lighting Controller
- Advanced Light Blueprint
- Modular Universal Material
- Raytracing support

Global Lighting Controller Features:
- Day/night cycle within real-world coordinates.
- Auto-activation of point/spotlights/advanced lights
- Ability to ignore certain lights
- Blending between day/night parameters for Sky Sphere, SkyLight, Directional Light, Atmospheric Fog, Exponential Height Fog, Post Processing Volume
- Can work in the editor via construction script or at runtime
- Trigger blueprint to switch between day/night (useful for making interactive demonstrations to showcase day/night variants of the environment)
- Ability to quickly select a certain time of a day (midnight, morning, evening, etc).

Advanced Light Blueprint Features:
- Light intensity and mesh emissive intensity blending during day/night cycle transitions
- Ability to set mesh representation of a light
- Light flickering for mesh emissive and light function
- Wind simulation to make meshes looks lively
- Physics Constraint and Cable Component support - visible connect lights to surface and affect its movement by physics
- Lots of parameters to tune for both light and mesh
- Quickly change from point light to spotlight or mesh emissive only lighting.
- You can use the float curve to set custom transition speed between day/night
- Ability to set custom time intervals for day/night transitions.
- You can disable certain advanced lights from managing them by the global lighting controller.

Universal Material Features:
- One material to rule them all. It can be used for almost any kind of purpose - trim sheets, tileable materials, unique materials for props, grass/trees/foliage, subsurface, glass, etc.
- Enable only those features per instance material, which you need via static switch parameters - unused parts won't be compiled and it will reduce the number of instructions.
- Modular approach. Reuse parts of this material in your custom materials.
- Surface effects support. Add procedural snow/sand/mud/wetness/dissolve effects for your meshes or enhance the system to add your effects.
- Parallax Occlusion Mapping support
- Tesselation support
- World Aligned / Custom Triplanar mapping support.
- Various color variation methods support (SpeedTree/Global Variation Map)
- ScratchGrime masks support
- Translucent materials with refraction support
- Cheaper glass materials via masked blend mode and dither temporal AA.
- Fuzzy shading support. Take most of your moss materials.
- Details normal support
- Various methods to control the normal intensity
- Ability to use separate tiling amount per each input
- Emissive effects - flickering/dynamic fade
- You can be able to not use any textures at all - just pure input scalar/vector values
- Distance-Based Tesselation
- Ability to use separate far tiling value based on camera distance
- Wind support
- Pixel Depth Offset support
- The project also included separate material that supports vertex paint with 3 layers + liquid. You can select default lerp or height lerp to use.

https://www.youtube.com/watch?v=9M7Y8qreAD8






Replies

  • kanga
    Offline / Send Message
    kanga quad damage
    Looks pretty super! Love the curved forms. May be interesting for modular dummies like me for you to outline your process a bit.

    Great stuff.
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Update 7.11.19

    For the last week I worked on a couple of things:
    - Resurrected the whole project, which was abandoned since the Artstation Challenge.
    - Worked on materials and UV.
    - Tried to make it possible to work on this project on 2 different PCs seamlessly.

    Trim Sheet for temple fundament was sculpted in ZBrush, baked in Marmoset Toolbag and finally polished in Substance Painter.



    I used the AtlasMaker node to make trim sheet for roof details/decals. Good thing is that you can update parts of your trim sheet at any time without a lot of effort. This texture has a 2K resolution and created for 512px/m texel density. I probably pack more decals later in it, when I need them.



    Lots of work took UVs, especially for roofs. Very useful addons for UV in Blender is Magic UV, TexTools, Texel Density Checker.



    A prototype of this temple is Byōdō-in, but I added some changes in it. Though the main forms are complete, I still not sure about surroundings - walls/water/something else?

    Some screenshots from UE4 (all shadows are from Mesh Distance Fields + SSAO - no cascaded shadow maps on images below):





    As for seamless work on 2 different PCs, I tried a couple of solutions. 

    First of all, I tried SyncThing. In the beginning, I used 2 PC + Mobile Phone for sync files. Then I tried to use Raspberry Pi 3 Model B instead of the smartphone to make it work 24/7. I also tried to use my own relay on VPS. It worked fine for small files, but pretty unstable if you need to sync 1-2 Gb every day - sometimes sync could take 1-2 hours.

    Then I moved to usual cloud providers and currently testing this solution. The main idea to enable sync only when you need it and disable it when you're working on a project. The reason for this is because unlike SyncThing, most cloud storage providers are not supporting delta sync (except Dropbox maybe, but it's too expensive) and ability to exclude subfolders from sync (not even Dropbox).
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Update 9.11.19





  • kanga
    Offline / Send Message
    kanga quad damage
  • icegodofhungary
    Offline / Send Message
    icegodofhungary interpolator
    Everything looks pretty consistent in quality and high quality indeed. If you haven't yet, I think a night version of this would be phenomenal, with paper lanterns and the like. Would also be good lighting practice.
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Update 11.11.19

    What's new:

    - Global Lighting Controller (GLC)

    GLC Features:
    - Day/night cycle within real-world coordinates.
    - Auto-activation of point/spotlights and blueprints with advanced light interface with the ability to ignore certain lights
    - Correct sun position by using UE4 Sun Position plugin
    - Blending between day/night parameters for Sky Sphere, SkyLight, Directional Light, Atmospheric Fog, Exponential Height Fog
    - Can be run in the editor via construction script or at runtime 
    - Trigger blueprint to switch between day/night
    - Advanced light blueprint, which supports additional features, like intensity blending during day/night cycle

    https://www.youtube.com/watch?v=_PIccaYgTWY
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Everything looks pretty consistent in quality and high quality indeed. If you haven't yet, I think a night version of this would be phenomenal, with paper lanterns and the like. Would also be good lighting practice.
    Working on it. Look for the latest update with video. :)
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Update 18.11.19

    Global lighting controller improvements, including:
    - Easier to add new parameters to switch them between day/night/dusk/dawn
    - Added new parameters for skylight, directional light, and exponential height fog
    - Ability to select a certain time of a day via combobox (midnight, morning, evening, etc).

    Lots of improvements on Advanced Light blueprint, including:
    - Light flickering for mesh emissive and light function
    - Wind simulation to make meshes looks lively
    - Physics Constraint and Cable Component support - visible connect lights to surface and affect its movement by physics
    - Tons of parameters to tune for both light and mesh
    - Quickly change from point light to spotlight or mesh emissive only lighting.

    https://www.youtube.com/watch?v=8PIkYCYEuj0
  • Eric Chadwick
    Would be cool to see the leaves transition to green as the sun hits them.

    Also, need a jump pad on the end there, ala The Longest Yard. :D
    https://www.youtube.com/watch?v=piGFooVolRc
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Would be cool to see the leaves transition to green as the sun hits them.
    Currently, everything follows the timings, which can be set in the global lighting controller (when a transition from day to night starts). But I guess it's possible to add custom timings to the advanced light blueprint, so each actor can have separate info when to start such transition. It will make possible to set accurate transition interval so the tree will change color exactly at the moment when the sun starts to shine. I will add this to the task list.
  • franman
    Offline / Send Message
    franman polycounter lvl 13
    kelheor said:
    Update 9.11.19





    This shot here looks like a good potential stage for a fighting game especially if that fighting game happens to be Soul Calibur 6.
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    franman said:
    This shot here looks like a good potential stage for a fighting game especially if that fighting game happens to be Soul Calibur 6.
    Yeah, I also had this idea, to make it as a training ground for monks. I also had an idea to make it as a helipad, place the whole temple on skyscraper's roof and place a city around. But currently, it's a small rest area with a single grave, on which the mystic tree was planted.

    To be honest, initially, I had references for the temple only. And now I'm stuck with making proper surroundings for it. It can be flying islands, mountains around (like Huangshan), an island in the sea, a futuristic city, a giant cave or something else. If I only was able to paint in 2d a proper concept art, the work would be much simpler. But unfortunately, I don't have the skills in making 2d concepts at this moment. 
  • easterislandnick
    Offline / Send Message
    easterislandnick polycounter lvl 17
    The end of your roof beams are yellow, why? Are they painted? Wood in the real world doesn't really do that, only very old wood that has been recently cut and no where to that amount. Have a look at these sleepers.. Once wood has been in the wild for a couple of years any fresh wood on the end grain matches the side grain anyway,
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    The end of your roof beams are yellow, why? Are they painted? Wood in the real world doesn't really do that, only very old wood that has been recently cut and no where to that amount. Have a look at these sleepers.. Once wood has been in the wild for a couple of years any fresh wood on the end grain matches the side grain anyway,
    It's painted. I may reverse to a full red version (instead of pure wood) as in the image below, but currently, I left yellow color just to make better separation of details.


    In the original old version (which is not in Hawai, but in Japan), it's wasn't painted initially.


    But then it became painted too:

  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Update 22.11.19

    What's new:

    - Testing another variant of surroundings around the temple.

    - Global master material refactoring. All materials now are modular. Each module (input, util, effect) can be reused to make various specialized materials or universal material with the ability to enable only required features.

    - Advanced lights now can use the float curve to set custom transition speed between day/night. Also, it's possible to set a custom time intervals for such a transition. You also can disable certain advanced lights from managing them by global lighting controller. 

    - Lots of various tweaks and optimizations here and there. For example, I found and fixed a bug with roof's distance fields, which only occurs only with a certain light angle and because of it shadows are incorrect.
    Also, decreasing the quality of screen-space reflections from 100 to 70 gave a huge boost of performance without almost any visible changes.



  • kelheor
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Updated details about universal material features in header of a forum thread.

  • kelheor
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Quick Hierarchical Level of Detail Tutorial

    HLODs is really a good way to optimize modular environments non-destructively.
    Unlike merging multiple actors to decrease draw calls, HLODs can do the same for you and you still can change your environment and add new details. HLODs can do more than that, but we're focusing on the auto-merge feature in this tutorial.





  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Did a small research on anamorphic lens flares in UE4.
    I wanted to add it to my scene, but it looks like things are more complex than I thought.

    Quick summary:
    - You can't make it via image-based lens flares in post-process volume. Even more, those lens flares are extremely expensive, so I can't recommend you to use them.
    - You can implement anamorphic bloom via post-process material, but it won't be an ideal solution.
    - You can fake it via particle system (look for infiltrator demo) and even more, add complex materials and spawn logic to make it look properly everywhere.
    - But to make it really properly, it looks like you have to edit engine code and add this feature by yourself.
    - UE3 had a good lens flare editor, UE4 for some reason is not.

    Useful links:
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Testing morning lighting 




  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Initially, I wanted to learn if it's possible to tune various inputs (like roughness) via post-process material. But then I just started to play with nodes in a random way and made this material (on screenshots I just tuned various settings).





  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Summary of technical changes over the last couple of updates:
    - Meshes with cloth simulation and wind support were added
    - Proper auto-exposure support
    - Ray-tracing support (change API from DirectX 11 to 12 to activate it) with optimizations (checkbox in global lighting controller)
    - Parallax occlusion mapping for water
    - Post-processing volume parameters tweak (building look much better after fine-tuning AO)
    - New post-process materials (unsharp mask, letterbox effect, various stylized looks)
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    What inside temple at this moment


  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5

    What's new:

    - Moved to UE 4.24 due to the new Sky Atmosphere, which makes evening lighting much better.

    - Added volumetric fog support

    - Global Lighting Controller now supports Post-Processing volume updates

    - New meshes here and there and improvements on old meshes (for example, top of the main roof now is curved)


  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Update 22.12.19

    Almost done. But I guess I still have 2 weeks for further polishing due to holidays.



  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Testing volumetric fog setup as a part of lookdev






  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    This week plans: find music for video (hours of listening Japanese-style music awaits me), play with Sequencer to make the best possible shots, look at captured screenshots and figure out what to improve, polish everything.


  • JamesBrisnehan
    Offline / Send Message
    JamesBrisnehan sublime tool
    If you are open to suggestions on music, one of my favorite bands had a song I thing could fit with this scene. "The Fifth Guardian" by Epica. https://www.youtube.com/watch?v=kZrmlpGjiKE
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    If you are open to suggestions on music, one of my favorite bands had a song I thing could fit with this scene. "The Fifth Guardian" by Epica. https://www.youtube.com/watch?v=kZrmlpGjiKE
    Yes, good music. The problem is that I have to find music, which is paid or have a Creative Commons license because I'm planning to submit this environment to UE4 Marketplace (it allows me to continue my work on the next projects). Maybe I'm wrong, but there might be copyright issues later if I'll use your music.
  • JamesBrisnehan
    Offline / Send Message
    JamesBrisnehan sublime tool
    Very possible. I'm not sure how Nuclear Blast Records handles things. Ha ha, yah, keeping things legal would probably be a good idea.
  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Well, the trailer for this project is almost done and in a stage of polishing. I'm still not sure when to finish this project and post final images/video - in the next week or when it will be released on UE4 Marketplace (+3-4 weeks).



  • kelheor
    Offline / Send Message
    kelheor polycounter lvl 5
    Review of this project took more time than I expected (probably due to holidays), but now, when it finally was released on UE4 Marketplace, I can post final video/images.

    Images available on Artstation: https://www.artstation.com/artwork/W2qAAv

    Playable demo: https://drive.google.com/open?id=1vOXxJHcd9A3z1tZpds2ue8TZNmKweuJt

    UE4 Marketplace: https://www.unrealengine.com/marketplace/en-US/product/modular-japanese-temple

    Video:

    https://www.youtube.com/watch?v=9M7Y8qreAD8
Sign In or Register to comment.