Hello,

I'm working on a shader mimicking parts of the the Unity's Transparent Fade shader, but now I have a problem.
When I switch off shadow casting, also it switches off emission on the environment.

It allows:

- 1-sided or 2-sided material (done)
- Emission (done)
- Cast shadow or not (Transparent Cutout or Transparent Fade) It has the error.

Click image for larger version. 

Name:	ERROR.png 
Views:	6 
Size:	1.01 MB 
ID:	494705

Blend file: https://ufile.io/hn5x9

Thanks for the ideas/help!