Wiring up Anisotropy in an Unreal Engine Shader

General / 11 December 2020

This is obviously for the case you do not want to map your object. so a triplanar mapping.
Ofc this is also possible with normal UV's 


you can find an anisotropy map here:
https://www.textures.com/download/pbr0028/133064

Recalculate polygon normals in the shader in Unreal Engine

General / 06 December 2020

if you ever find yourself in a situation where you need to recalculate normals after displacing your mesh within the vertex shader. e.g. in conjunction with tesselation, there is a way to do this with the "normal from height" node


(I deactivated shadows on this object to show the effect more clearly)

it can be solved like this
note that you turn off tangent space normals in the main shader properties.


However the normals are then facetted

in order to get smoothed normals, you can use the "NormalFromHeight" node

the lower the normal offset, the higher you need to set the normal intensity.


  

Build Reflections with a Scene Capture Cube in Unreal Engine

General / 05 December 2020


in order to get sharp reflections on glass materials, you can use a scene capture cube.

just place a scene capture cube into the scene


create a render target image

and then setup this material


The texture sample holds the render target texture of course.

Monolithic Structure

General / 01 December 2020

For a school project i am currently working on a gigantic structure with my class. This post is constantly updated. whilst the lowest posts are the earlies WIP images and videos




this is the concept picture


H:\UnrealProjects\GD1019_Bunker\Screens\2020-12-02 21_10_14-GD1019BunkerProject - Unreal Editor.png



















this is the project plan


https://open.codecks.io/monolith

this is a WIP for the scene


Fish swim vertex shader

General / 19 November 2020

Ages ago a friend, Jan Kaluza (https://twitter.com/JKashaar) helped me with this small vertex shader problem.

So if you'd like to see how a fish swim movement can be projected onto a mesh then pls watch this gif.
the result goes to "world position offset"
Additionally you can copy paste the nodes into your material here

https://blueprintue.com/render/le52jgsn




Create a flickering light with blueprints in Unreal Engine 4

Tutorial / 10 November 2020

A next tutorial will cover an interact system that incorporates flickering lights and a light switch that can be used by the player.


Unreal Engine simple water shader #2

Tutorial / 22 July 2020

I revisited the simple water shader and added a fade out for opacity and refraction. So it's slightly more expensive but especially for lake or river water this helps with the water intersecting the landscape.

Copy and paste the material here:

https://blueprintue.com/blueprint/l7di5oxt/ 






Detect physical materials with projectiles in Unreal Engine 4

General / 17 July 2020

a quick video how to have different impact sounds on different surface types.  #UE4 #unrealengine #gamedev also have a look at this alternative method to test for surface types  

also have a look at this alternative method to test for surface types  



How to wrap a helix around geometry in 3ds Max

Tutorial / 17 July 2020

Here is another oldie i made years ago.

It's about wrapping polies around other polies.

Could still be relevant i guess, so i post it here again.



3D widget materials in Unreal Engine

Tutorial / 17 July 2020

i made a small snippet explaining the 3D widget material.

it wasn't obvious to me how it worked once i had to change it, so i thought it might help to share my findings

When you want to change a 3D widget material of a 3d widget component in a blueprint, in order to make it e.g. look like a holographic material, you have to understand how the parameters in this material work.


This video covers the importance of the correct naming of those parameters. 

copy the custom widget material from this pastebin 

https://blueprintue.com/blueprint/_s6boszl/