关于华为手机VulkanAPI下16张贴图的问题记录

Shader 'Hidden/Universal Render Pipeline/Terrain/Lit (Add Pass)' uses 20 texture parameters, more than the 16 supported by the current graphics device

上面这句错误是从真机调试中抓取到的日志,经过本人反复测试,只有当华为手机使用Vulkan API时,并且shader的texture数量超过16张,硬件就不支持了,不得不吐槽华为的Vulkan支持简直是。。。

这里做个记录~

原文地址:https://www.cnblogs.com/shenyibo/p/14520246.html