Загрузка видео...

Не удалось загрузить видео

На главную

4 texture utilities I'm developing/using right inside of my Unity for Games project ✅ Blur Filter ✅ Channel Packer ✅ Gradient to Texture ✅ SDF Baker UI Toolkit + compute shaders ❤️

17,046 просмотров • 3 лет назад •via X (Twitter)

Комментарии: 10

Фото профиля thomas 🏔️ vandenberg
thomas 🏔️ vandenberg2 лет назад

@unitygames woah this is amazing actually! Will this re-bake automatically if the source textures change?

Фото профиля Alex Ameye
Alex Ameye2 лет назад

@unitygames I had the SDF baker as an AssetPostprocessor so changing the source texture would indeed trigger an SDF-generation. Also per-channel

Фото профиля Andy Touch (Same on 🟦⛅)
Andy Touch (Same on 🟦⛅)2 лет назад

@unitygames Which Graph API are you using? :)

Фото профиля Alex Ameye
Alex Ameye2 лет назад

@unitygames Just checked (last commit is almost 2 years ago at this point), I use UnityEditor.Experimental.GraphView and UnityEngine.UIElements

Фото профиля rikoo
rikoo3 лет назад

@unitygames Wow that's so amazing ! There is even a shader to texture 😯

Фото профиля BruceSlater
BruceSlater3 лет назад

@unitygames This is so good, how does one test this tool 👀

Фото профиля Alex Ameye
Alex Ameye3 лет назад

@unitygames Might release this in the future :) Which one seems the most useful?

Фото профиля Ciro Continisio
Ciro Continisio3 лет назад

@unitygames Super cool! Gradient to texture is nice, but my immediate thought is: to make one I might as well go to PS or another app. Having it in Unity would be great to be able to continuously tweak it.

Фото профиля Lexie Dostal
Lexie Dostal3 лет назад

@thisistehks @unitygames might be the way the data is visually represented but the SDF baker looks more like a distance baker, Gradient should also be going into the interior for it to be signed. Assuming a 0-1 output, 0.5 being 0 distance to edge.

Фото профиля Alex Ameye
Alex Ameye3 лет назад

@thisistehks @unitygames Yeah it's just how it is visualized here, it does generate the signed version but I then do a post-processing step to set the negative values to 1.0 because I need that for my use case 😄

Похожие видео