G-Buffer の構築の実験 ( Try to construct G-Buffer )

遅延シェーディングに使うG-Buffer を構築するプログラムを試しに作ってみました. 以下が結果の画像です.

I tried to write a program which constructs a G-Buffer used for deferred shading. Results of images is showed below.

Normal Buffer

Depth Buffer

Diffuse Buffer

Specular Buffer

これは 2 時間ぐらいで作ったプログラムでして, G-Bufferのフォーマットは今のところ適当です. すみません. なので, いろいろ調整する必要がありそうです.

I only used about 2 hours to write this program :< . For that reason, the format of G-Buffer is not adequate, so I have to adjust it.