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
SameSite
attribute. A future release of Chrome will only deliver cookies with cross-site requests if they are set withSameSite=None
andSecure
. You can review cookies in developer tools under Application>Storage>Cookies and see more details at Chrome Platform Status and Chrome Platform Status.
This may caused by cross-origin problem? I cannot see my material however.