As the title said, if an object (not layer) has been attached a shader with background sampler, and the object is in a layer which’s index is greater than 1, when changing the alpha coef of this layer by layer object, object’s shader's effect will disappear. Or to be more specific, background sampler will get nothing.
The following illustration uses looki's background offset as an example, this issue happens both DX 9 and DX 11, PM enabled or not. Didn't notice such issue before, might be 294 specific, due to the changes made to support shader on other platforms.
When layer alpha equals zero:
Note that shader without background sampler works properly. See the active diamond with matrix dot effect.
File attached here:
Dot matrix shader (not needed, but also attach it here) :
Thanks in advance.