Change Queue Not Work In Unity Shader
来源:互联网 发布:使用c语言完成http请求 编辑:程序博客网 时间:2024/04/28 10:55
Problem:
It seems like there is some sort of bug with shaders / materials regarding render queues.
I have shader that is set to be in Geometry+10, and another shader that is set to be in the Geometry queue. It the frame debugger the shader that is supposed to be in the Geometry+10 queue is drawn first! And the shader that is supposed to be in the Geometry queue is drawn in the alpha pass!
Solution:
It's been reported for a while by several of us since 5.0. When you change the shader a material uses it sets the material'squeue to that of the shader at the moment you change it. This is very frustrating for shader development. The easiest fix is, as you said, to change to another shader and back, but another way is to right click on the inspector and select debug and then change the custom queue to -1. This is a special setting that means "use the shader's queue" and is what it was set to prior to 5.0.
url:http://forum.unity3d.com/threads/5-3p1-queue-tag-buggy.379544/
- Change Queue Not Work In Unity Shader
- GetComponentsInChildren Not Work In OnDisable[Unity]
- Multithreaded Work Queue in C++
- work queue in Linux 2.3.36
- Unity Shader Build In Values
- unity mobile First Person Controls not work
- why will unity not work with %AppData%
- C compiler not work ....in configure checking .,..
- Unity Built-in Shader详解二
- Unity Built-in Shader详解三
- Unity build-in shader 阅读-------HLSLSupporting.cginc
- Unity Shader 内置变量(Built-in shader variables)
- Unity3D change standard shader rendering mode in runtime
- laravel queue:work & queue:listen
- Work queue 详解 (ZZ)
- Linux中的work queue
- Linux中的work queue
- Linux中的work queue
- POJ 1088
- C语言实现封装、继承和多态
- FrameLayout
- cocos2dx和quick的区别
- Android开发之WebService介绍
- Change Queue Not Work In Unity Shader
- hdu 4003 Find Metal Mineral(树形dp+分组背包)
- swift中实现description
- 关于VC中 error C2871: 'std' : does not exist or is not a namespace
- 2016蓝桥杯假期任务之《泊松汾酒》
- C#上机实验(三)
- EasyUI - datagrid属性idField详解
- Linux中常用操作命令
- 重写 strlen