Porting ShaderToy Code to Unreal Engine // Livestream

Опубликовано: 31 Октябрь 2024
на канале: Tech Art Aid
10,285
286

Support on Patreon:   / techartaid  
ShaderToy is a gold mine of creative coding for real time. Ever wanted to port a GLSL shader to an Unreal Engine material? Here's how I approach that.

00:00:00 What is ShaderToy? Examples
00:09:40 How to read GLSL programs
00:15:45 Material graph vs code flow
00:22:14 Arrays - a missing feature in nodes
00:27:53 Functions = Material functions
00:34:55 Calculate normal map from heightmap
00:48:30 Display gamma. Final result
00:58:04 Next shader: procedural fruit artwork
00:59:20 Lerp 3 colors (3-way texture blend)
01:03:45 Unreal/HLSL equivalents of GLSL variable types
01:07:21 Why I avoid HLSL "Custom" node
01:10:17 New node: remap & clamp value range
01:16:51 How to show HLSL code generated from material
01:19:54 Polar texture coordinates
01:23:46 Converting a GLSL function into HLSL "Custom" node
01:29:17 [Skip that section. Laboriously making a material parameter collection]
01:49:15 Animated, procedural checkerboard pattern
01:57:34 Procedural apple shape. SDFs, masks, threshold
02:19:08 Results