Thursday, November 30, 2023
HomeVisual EffectsAttempt to recreate this impact with unreal materials

Attempt to recreate this impact with unreal materials

Hi there, i begin just a few months with vfx and un this second i attempt to recreate the consequences i like or i hace curiosity.
I Noticed this shader from jettely on Twitter and check out yo do It myself. Perhaps i search with the wrongs phrases however i can’t discover assist so i put up right here.
To start with I can’t create the Up face with sdf on unreal materials and at this level how am i able to match the middle with the feel? I would like customized node for recreate this??
Allí assist are welcome thanks for learn at this level :slight_smile:

The shader are from jettely anda that is the unique tweet

To be trustworthy, I by no means used UE, I solely use unity and so far as I do know, you’ll need to make use of customized features sooner or later on this shader however possibly the UE node system has extra to supply, so I’ll clarify the strategy, on the whole, and if you wish to get deep at it, let me know.

  • The shader makes use of a way known as signed distance area (SDF) rendering to create the looks of a fruit. SDF rendering entails casting a ray from the digital camera by means of every pixel on the display and calculating the gap between the ray and the floor of the article. The shader then makes use of this info to calculate the colour of the pixel.


  • The shader additionally comprises two features: “planeSDF” and “sphereCasting”. These features are used to calculate the place of the article’s floor in 3D house.

  • The “planeSDF” operate calculates the gap between a degree in house and a airplane outlined by the user-set “_Edge” property.

  • The “sphereCasting” operate casts a ray from the digital camera’s place into the scene and determines the place it intersects with the article’s floor utilizing the “planeSDF” operate.


I might try one thing like this utilizing this shader community I created some time again due to a tutorial by CGHow. Hope it helps.



Please enter your comment!
Please enter your name here

Most Popular

Recent Comments