Тёмный

GL to OSL, random pattern from glslsandbox.com 

Mads Drøschler
Подписаться 773
Просмотров 454
50% 1

Learn how to clean a typical GL shader so it compiles in OSL.
Source: glslsandbox.com/e#63683.1

Опубликовано:

 

30 апр 2020

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 7   
@pproestos
@pproestos 4 года назад
beatiful Mads, thx bro
@neoqueto
@neoqueto 2 года назад
Octane for C4D has a useless button that is supposed to convert GLSL into OSL with a single click and it never works... Thanks for the tutorial, it'll come in handy someday for sure.
@weightednormal3682
@weightednormal3682 3 года назад
Thanks for making these videos. I would like to make a node that will convolve the image with a kernel filter. How would I go about this using osl?
@madsdrschler7853
@madsdrschler7853 3 года назад
Are you thinking about something like making your own blur kernel? There are several ways to go about that, actually last night I did a fibonachi convert from GL to OSL works great, but also box kernel and gaussians are possible.
@weightednormal3682
@weightednormal3682 3 года назад
@@madsdrschler7853 There are so many interesting possibilities. I am stuck at the point of sampling the input image many times. I will try again this evening.
@madsdrschler7853
@madsdrschler7853 3 года назад
@@weightednormal3682 typically you sample something multiple times in a for loop. pastebin.pl/view/e053c3c6 here is the fibbonachi blur.
@madsdrschler7853
@madsdrschler7853 3 года назад
@@weightednormal3682 for(float i = 0. ; i < samples ; i++) { vec2 offset = phyllotaxis(i, samples) * radius; vec2 tt = uv+offset; col += texture(tex, tt.x,1-tt.y); }
Далее
OSL Programming: Let's write a proper Normal Blend Map
27:57
Старый Дим Димыч вернулся😱
00:16
Каха заблудился в горах
00:57
Просмотров 1,3 млн
EVOLUTION OF ICE CREAM 😱 #shorts
00:11
Просмотров 3,6 млн
How to create an OSL Qt UI in 3ds max.
15:32
Java Is Better Than Rust
42:14
Просмотров 147 тыс.
3ds MAX + OSL + Vertex Paint masking
3:48
Просмотров 3,3 тыс.
So... why did AI take off now?
4:01
Просмотров 419
Arnold 3ds MAX: AO Light Filter
4:55
Просмотров 1,8 тыс.
How To Access Any Forked GitHub Repositories Data
9:31
Старый Дим Димыч вернулся😱
00:16