How to apply texture for ShaderMaterial

I’m a newbie of GLSL shader and I can’t add images to my texture.

Here’s my code.

:pray: :pray: :pray:

Hey there, here’s a few things I changed to get it working. :slight_smile:

  1. vertexSource and fragmentSource are the properties to use when supplying the source directly in a string.
  2. The material wasn’t assigned to the mesh yet.
  3. The URL for the texture is invalid, so I changed it to one of the textures available on the playground.