ピ・プ

ピアノとプログラムが好きです。Houdiniの勉強内容をまとめたブログです

1GLSL 初めてのWebGL

以前より、shaderを手軽に書きたいと思っていた。

そこで、ShaderToyを利用した。

ShaderToyはwebglを投稿するサイトです。pixivのglslバージョンです。

投稿されているものは、煙の表現、水の流れる表現、水の屈折、月日に照らされた水面などコードだけでこんなにきれいな表現が出来ているのかと驚かされます。

 

コードだけでモデルを表示されている方もいます。

 

私もshadertoy始めました。

ドラッグすると青い●がくっついてきます。

https://www.shadertoy.com/view/lsjyDz

f:id:karisuton:20170409213622p:plain

 

I wanted to write shaders easily than before.

So I used ShaderToy.

ShaderToy is a site to post webgl. It is the glsl version of pixiv.

What is posted is surprised as to whether expressions such as expression of smoke, expression of flowing water, refraction of water, water surface illuminated on the moon day etc. are made solely with such code.

 

Some people are showing models only with code.

 

I started shadertoy.

When dragging, the blue circle.

Https://www.shadertoy.com/view/lsjyDz