Hello.
I’m doing basic heat shader for android and actually done it but stumbled upon grabpass not working when reaching some camera distance.
I’ve simplified shader code to minimum but the bug still appears.
Here’s the shader:
Shader "Custom/Example" {
Properties {
_Color ("Color", Color) = (1,1,1,1)
}
SubShader {
GrabPass { }
Pass
{
SetTexture [_GrabTexture]
}
}
FallBack "Diffuse"
}
gif animation of the problem
As you can see whenever I zoom in/out in editor the box texture appears or disappears and same thing happens in camera view!
Does anybody have a clue about what’s happening?
PS Unity 5.1.1f1 (64-bit)