Too many texture interpolators would be used for ForwardBase pass
来源:互联网 发布:oracle 去掉重复数据 编辑:程序博客网 时间:2024/06/06 14:25
这是由于Input中定义的材质uv变量过多,当前版本的shader model不支持造成的。
将shader model改为更高的版本即可解决。比如我现在用的#pragma target 3.0不支持3个材质,改为#pragma target 4.0就行了。
如果非要用#pragma target 3.0,只能通过共用uv_MainTex或者使用屏幕坐标来解决了。
参考:
Your shaders model target does not support that many texture interpolators. You can specify a higher shader model target using #pragma target <shader model>
, for example #pragma target 4.0
, or you could try to simplify your shader so it fits in target 2.0 or 3.0.
Manual: Shader Targets
By default, Unity compiles shaders into roughly shader model 2.0 equivalent.
#pragma target 4.0 - compile to DX10 shader model 4.0.
This target is currently only supported by DirectX 11 and XboxOne/PS4 platforms.
Note that all OpenGL-like platforms (including mobile) are treated as “capable of shader model 3.0”. WP8/WinRT platforms (DX11 feature level 9.x) are treated as only capable of shader model 2.0.
- Too many texture interpolators would be used for ForwardBase pass
- [Unity 纠错] Too many texture interpolators would be used for ForwardBase pass at line
- <shader>编程中遇到的问题-too many texture interpolators would be used for ForwardBase pass
- 欧拉项目 Problem 17 of how many letters would be used?
- Too many constants, the constant pool for ***_jsp would exceed 65536 entries
- CircuitBreakingException[[FIELDDATA] Data too large, data for [proccessDate] would be larger than li
- Bitmap too large to be uploaded into a texture
- Shape path too large to be rendered into a texture
- Bitmap too large to be uploaded into a texture 解决方法
- Bitmap too large to be uploaded into a texture exception
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture
- Bitmap too large to be uploaded into a texture 解决方案
- Bitmap too large to be uploaded into a texture 解决方法
- Bitmap too large to be uploaded into a texture
- indexerror: too many indices for array
- VS2013配置Caffe卷积神经网络工具(64位Windows 7)——准备依赖库
- 设计模式--Decorator 模式
- Android属性动画完全解析(上),初识属性动画的基本用法
- 更新 Xcode 8 遇到的bug
- Java IO流经典练习题
- Too many texture interpolators would be used for ForwardBase pass
- 高德地图
- 一尝未来
- 欢迎使用CSDN-markdown编辑器
- 中国这10家慕课网站,您需要知道!
- Support vector machine
- RabbitMQ学习
- 调用.dll .ocx失败
- 剑指Offer——携程笔试题+知识点总结