yangrc1234 / VolumeCloud

Volume cloud for Unity3D
MIT License
641 stars 73 forks source link

Compute shader for mobile #5

Closed achestpro closed 5 years ago

achestpro commented 5 years ago

Beautiful clouds, amazing speed, everything is Hi-End. I wanted to see the speed on the mobile. It does not compile for android. Says that the compute shader is not supported by the platform. Maybe you know how to solve this problem?

yangrc1234 commented 5 years ago

Thank you for your attention!

I thought unity would just skip the compute shader asset if it's not supported by build target. If it stops you from building android target, just remove the compute shader asset inside VolumeCloud/Shaders. The compute shader is only used when the option "Use hierarchical height map" on camera script is checked. So remember to uncheck it in your scene.

But I'm still not sure if it could run on Android, since many operations that are not very suited for mobile platform.

Also I haven't tested opengl yet. So if you have any weird problems, post them here, I'll look into them later.