2015/08/18

Deferred lighting in Metal

There is a sample code by Apple named ‘MetalDeferredLighting’ and this looks very beautiful, especially many lights called ‘fairies’.

screenshot of MetalDeferredLighting

↑This is its screenshot. I have never heard this deferred lighting. So I tried to show my own objects by this method.



↑This is the result. There are some strange points yet but it looks nice.
I was surprised that it is much easier to make shadow in Metal than in OpenGL ES 2.0
I didn’t know the method to use many lights, and this can make an interesting scene.
Develop | Comments(0) | Trackback(0)
Comment

管理者のみに表示