willlogs / unity-optimized-grass

Optimized 3D grass for unity that works on Mobile. OpenGL 3.5+
100 stars 16 forks source link

Metal API support? #6

Open Hacivat opened 2 years ago

Hacivat commented 2 years ago

First of all, thanks for the awesome work. Looks great!

My question is not about the project. In Android, works smooth and perfectly also lower devices. Is there any way to convert Opengl shaders for Metal compatiblity which you know?

willlogs commented 2 years ago

Hi,

This shader uses "Tesselation". If the device you want to use supports this type of shader it can be converted so that it'll work on that device.

Otherwise, you'll need to come up with a way that takes care of the tesselation without using the required hardware and also implement that solution in unity... That might be too much of a headache in my opinion :D