To figure out this problem: PointLight and custom map uniform don't work on my custom shader
I make this fiddle to try pass the map uniform into shader.
It gives me the warning:
A cookie associated with a cross-site resource at http://fiddle.jshell.net/ was set without the
SameSiteattribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set with
Secure. You can review cookies in developer tools under Application>Storage>Cookies and see more details at https://www.chromestatus.com/feature/5088147346030592 and https://www.chromestatus.com/feature/5633521622188032.
This may caused by cross-origin problem? I cannot see my material however.