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

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

На главную

float2 n,q,u=float2(i.uv-.5); float d = dot(u,u),s=9,t=_Time.y,o,j; for (float2x2 m=RM2D(5);j++<16;) { u = mul(m,u);n = mul(m,n); q = u*s+t*4+sin(t*4-d*6)*0.8+j+n; o += dot(cos(q)/s, float2(2,2)); n -= sin(q); s *= 1.2; } return o; #Unity3D #GLSL #VFXFriday

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

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

Фото профиля Mirza Beig
Mirza Beig3 лет назад

It's this FBM converted to HLSL for Unity. A small block of code that produces an incredible pattern. 😍 2D rotation matrix: float2x2 RM2D(float a) { return float2x2(cos(a), sin(a), -sin(a), cos(a)); } Procedural loading screen animations, anyone?

Фото профиля Van Aarde Krynauw
Van Aarde Krynauw3 лет назад

Wow, this is incredible! My brain is not allowing me to believe that this simple piece of code can produce that ... I will have to try it and prove it wrong!

Фото профиля Mirza Beig
Mirza Beig3 лет назад

The author linked to the code you can test on your browser in real time. Try it! Play with the parameters.

Фото профиля Long Story Short Games
Long Story Short Games3 лет назад

here is my adaptation for the same original shader with #threejs 🧬

Фото профиля Ken C
Ken C3 лет назад

Reminds me of StarCraft Zerg eggs incubating, this is awesome!

Фото профиля Kynan Pearson
Kynan Pearson3 лет назад

Incredible. I love this so much. Crazy how much variety you can get tweaking this too

Фото профиля James Taylor
James Taylor3 лет назад

vero noice

Фото профиля Vista Larga Games | ᯅ
Vista Larga Games | ᯅ3 лет назад

My ass after chipotle

Фото профиля Anthony
Anthony3 лет назад

this is awesome! may I ask how you generate the normals from the fractal value?

Фото профиля Mirza Beig
Mirza Beig3 лет назад

I don't use SG, but this should be similar enough to ASE.

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