Sharp Text Shader - Advanced Materials - Episode 18

  Рет қаралды 8,650

Ben Cloward

Ben Cloward

Күн бұрын

Пікірлер: 29
@miloszgierczak4806
@miloszgierczak4806 Жыл бұрын
Ben you are a great teacher. Be prepared that im going to leave this comment under your videos over and over again :D
@Gorongirl
@Gorongirl 8 ай бұрын
This technique has visited me in dreams for a year now and I’m excited to finally apply it to a project. I finally understand SDF applications! ❤ Thank you Ben!
@Theironlefty
@Theironlefty Жыл бұрын
One note, using this will lead to Aliasing issues from my experience and mip-mapping making text degrade, so i basically made a shader adjustment where the distance from the object chages how sharp/smooth the text is with limits and mip-mapping with BORDER handles it well afterwards.
@BenCloward
@BenCloward Жыл бұрын
Cool idea! Thanks for sharing it.
@PawelStoleckiTechArt
@PawelStoleckiTechArt Жыл бұрын
It's also usefull to use distance fields on opacity mask textures like you've shown here, general shape is maintained regardless of mip level being viewed, especially important on fencing, chains, foliage :)
@Peppyssj
@Peppyssj Жыл бұрын
Want to add that I tested here on chainlink fences, and it works great! Only thing is that I've used SDF instead of DF and had to change the Mip Settings to Sharp10 instead of the default settings. Also the ScaleMips For Alpha Coverage to 1! :D
@nicolashernanhoyosrodrigue762
@nicolashernanhoyosrodrigue762 Жыл бұрын
Thanks a lot!!! IT's very usefull!!! Thanks Ben from Colombia
@NopeSecret
@NopeSecret Жыл бұрын
Best tutorials on youtube right here
@DominikMorse
@DominikMorse Жыл бұрын
Aaaaaaaaaand stolen, implemented. You, good sir, just improved my workflow. Thank you.
@BenCloward
@BenCloward Жыл бұрын
Glad I could help!
@eigenlaut
@eigenlaut Жыл бұрын
Saw Font and thought SDF immediatly - never thought to combine it in a layered shader for fonts though! Shape Burst is incredible usefull for all types of alpha errosion shaders too!
@MustafaBerkeGureltol
@MustafaBerkeGureltol Жыл бұрын
Super useful to see tricks like this. Can you also make a video on shell based materials? I've seen it being used instead of performance-heavy surfaces like fur, grass, etc.
@Mireneye
@Mireneye Жыл бұрын
Made a roadsign system using this together with Custom Primitive Data, to use for selection of what text I want to display (from a texture full of texts). Criminally underused and the best thing about it, to my understanding is that even if two objects would have different texts, because of it using Custom Primitive Data, it would just be one Drawcall.
@DLVRYDRYVR
@DLVRYDRYVR Жыл бұрын
In your image editor, you can also multiply, level then sharpen or convert to outlines then stroke if needed, prior to export for engine's.
@spsexton
@spsexton Жыл бұрын
It would be great if you could post a version of this technique using Reality Composer Pro ShaderGraph.
@Alex_Stuff
@Alex_Stuff Жыл бұрын
Isn't that the same as using an inverse lerp with a saturate? Great video!
@BenCloward
@BenCloward Жыл бұрын
Yes! It is an inverse lerp. Good call out. UE4 doesn't have that node, but UE5 and Unity do - so you could just use that to make it more simple.
@Yoraiz0r
@Yoraiz0r Жыл бұрын
Nicely presented video! It should be possible to replace the 6 nodes creating the SDF with just a single Vector2 exposed parameter, a 'Remap' node, and a saturate node, right?
@BenCloward
@BenCloward Жыл бұрын
I haven't tried it, but you might be able to get the same results with that.
@fatemekamali8204
@fatemekamali8204 Жыл бұрын
Hi Ben.I have a quesion .how we can display a dynamic text im material ? do you have any solution?
@TunedFM
@TunedFM Жыл бұрын
Hello I wanted to request a tutorial I can’t find anywhere. I’m searching a way to crave/mask blueprint editable texts into static mesh’s parent inside own blueprint. I only found ways to mask boxes or spheres but not editable font silhouettes. Hope you could help.
@yggdrailongicorn
@yggdrailongicorn Жыл бұрын
Isn't it better to use this technique as Decals rather than in a pixel shader? Text area is small but the material still have to sample it at full area. Also, Decals allow you to add multiple text to one object at once. Still, a nice video tho.👍
@BenCloward
@BenCloward Жыл бұрын
Hmm, that's an interesting idea. I'm sure there are pros and cons for putting it in the material vs using a decal and which way is better would depend on the specific way it was being used.
@DaDarkDragon
@DaDarkDragon Жыл бұрын
But 1280 isn't a power of 2. You can also see that texture doesn't have any MIPS in unreal either because of that.
@BenCloward
@BenCloward Жыл бұрын
Yeah, that's true. You could just as easily make it 1024 if you're concerned about that.
@DaDarkDragon
@DaDarkDragon Жыл бұрын
Well the base concern is memory. one texture in a small project isn't gonna break the bank. But a bunch of these on a larger project? The full resolution is going to be loaded at all times instead of mipping down to save memory.
@isawedthedemons
@isawedthedemons Жыл бұрын
i usually just disable compression and use sharp mipmaps.
@eversonmay
@eversonmay Жыл бұрын
nice
@afrikaansedude2525
@afrikaansedude2525 Жыл бұрын
Please do a grass shader 🥺🔥
Iridescent Bubble Shader - Advanced Materials - Episode 19
29:59
Ben Cloward
Рет қаралды 19 М.
Retroreflective Road Sign - Advanced Materials - Episode 22
29:08
So Cute 🥰 who is better?
00:15
dednahype
Рет қаралды 19 МЛН
Мясо вегана? 🧐 @Whatthefshow
01:01
История одного вокалиста
Рет қаралды 7 МЛН
Rock Shader - Advanced Materials - Episode 3
31:49
Ben Cloward
Рет қаралды 17 М.
Local Volumetric Fog in Unreal Engine 5
11:47
Hoj Dee
Рет қаралды 13 М.
Parallax Occlusion Optimization - Advanced Materials - Episode 15
23:27
Car Paint Shader - Advanced Materials - Episode 9
27:08
Ben Cloward
Рет қаралды 17 М.
Metal Shader - Advanced Materials - Episode 7
21:29
Ben Cloward
Рет қаралды 11 М.
Glass Shader - Advanced Materials - Episode 16
25:43
Ben Cloward
Рет қаралды 20 М.
Ice Shader Part 1 - Advanced Materials - Episode 5
19:57
Ben Cloward
Рет қаралды 14 М.
Advanced Detail Mapping - Shader Graph Basics - Episode 14
26:36
Ben Cloward
Рет қаралды 18 М.
UPDATE: Camera Composition Overlays Pack for Unreal Engine 5
11:20
DRKR PXLS Creative
Рет қаралды 541