Hi, The daytime water shader and Nighttime water shader are the same and my problem is the same for both. Even if I uncheck the receive shadow box of the object that this shader is assigned to,lights wont go through it. Here is the screenshot:
Mention that I have no problem with Water4 example which is good for ocean.
System spec: GTX 580 with latest WHQL driver. I7-2600K 16GB ram Win 7 64-bit ultimate
Is ZWrite Off?
I opened the shader and saw nothing about the ZWrite which means on as default,anyway I added “ZWrite On” under the Pass and still nothing changes.
I meant it should be Off
I suspect On is what’s causing the issue.
Even when it is ZWrite Off no changes will happen but I understood that this shader is working with Directional lights very well.