Question by
AnInvisibleSpeck · Aug 04, 2018 at 02:08 PM ·
lightingshaders
Need Ideas for optimizing lighting for a mobile game
Hi, I am developing a mobile game for which i need diffusive lighting for the background.
I am able to achieve it using standard or legacy diffusive shader but the fps drops when I use it in the mobile. I have used mobile diffusive shader although the performance is good, the diffusive effect is not so great since it is a vertex shader. So, I need ideas for solving this problem.
Some of the idea from my side are.
Increase Tessellation of the background mesh and use mobile diffuse shader
Use Light probes along with the mobile diffuse shader. (I am not sure how it affects the performance)
I have attached some images for more clarification.
Thank you for reading
legacy-shader.png
(389.7 kB)
mobile-shader.png
(353.9 kB)
Comment