It also has much better performance compared to the brute force 32 noise calculations method. At low altitudes I was getting 16fps with the noise method and 33fps with the deferred method. At high altitudes I was getting 12fps and 30fps, respectively. As you can see, I was getting at least double the framerate all the time.
Now for some pretty pictures. They are not much different from my previous lighting pictures, the important thing is that they are being rendered much faster now. I also fixed a slight bug I had in the previous lighting that made the light direction the same for every side of the planet (there was no dark side). There are some strange vertical lines that are appearing which you can see in some of the screenshots below. I'm not sure why they are there, but I will continue to investigate them.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEg55mPQ4d4lVYTor0Iq5TO36gCNSLvGTvNA48r5r5Wbu1fmLdNqBlSLF0gxI7J_8Kto6KW6ud7tfbn83gUcX4X9ezj4YIo84HR4M2RbL8o8jYmuFmwsxaQqI94sznbQ7M50xHfBJ6l0urTk/s400/screenshot_633697120860460000.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiabSQ8nBTrK0cnZBB7d8BM51acd2WJ0BTlNxokxAqQ5-IuiBP8-nj6mlsWLki9fpylnTNu1NER5MwY03rG2rj4ZgMu5ydw0TvlJLChvMvyPqPaJelH5GbRb0tNbE4b_b4s_fVoZ4cri9PC/s400/screenshot_633697121969750000.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEimvf_oqFj1EZeR3O53iJy-_EQa0unHfcQXV-REXkLkX_tezP6HNwrbuT3vEeH7wW60BRJTjqsse-2FJ8FILMQuhgY2pHqDQtWipZcAV9NygzK-MCwS_ML5vAW784IG7ED_0T211bY86B_h/s400/screenshot_633697122316720000.png)
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEgaEfpXRV2byShFrUESFXXqAnXHTLVCkFS-rbTvRrWC_lHZ2GcoLiZ3xbRg6pOZXHF7k3bknGPcwOxyl7TZS5lp-ze-UKfWwLSYP4odiMwr848aw6QCO-jwKVToEemZb1mnHDjYgY7DTYsH/s400/screenshot_633697122704560000.png)
In the last picture you can see the detailed designs that are being generated for the terrain itself. Just to show a difference between the lit vs diffuse renderings, here is the diffuse texture alone for the last picture.
![](https://blogger.googleusercontent.com/img/b/R29vZ2xl/AVvXsEiSAEiRIyVRmCrzry5QdQwfWxRd0rOZaFBk1Yqm_nS422NX75M2YVIblu4C5jcq7URmUeqrvHWV0x0gNfAPRS1Vh4eYJjaFDTJ0m5La-fu3nuyQy6LxgPqyC9ROKzmzo1NA94DEgvCmkJ4_/s400/diffuse.png)
No comments:
Post a Comment