Sure. There is an example included in this tutorial. It also isnt a native hlsl function, but a custom made for unreal. You can check out "common.ush" inside the engine /shaders/private folder if you want to know what it does exactly. But it takes a texture, 3d coordinates, and 2 numbers which describes the volume texture…
Chapter 1: https://polycount.com/discussion/208918/ray-marching-chapter-1-the-very-basics-and-all-about-the-clipping/p1?new=1 Welcome to the second part of the ray marching tutorial series. If you've seen the first part, you are already familiar with the idea, so I won't go into much details regarding the basics. Lets jump…