I’m working on creating a tile map out of using a mesh. I’ve created the mesh, and triangles and was working on applying textures.
I had everything working correctly with random colored pixels being applied as the texture. Everything looked really dark, and adding lights didn’t help. I decided to switch and give the URP a shot to see how things would look using 2D lights.
The texture is still being applied the same way, but instead of a normal diffuse it is now a URP/2D/Sprite-Lit-Default, and the entire texture appears black on the mesh. The texture is still being generated and changing appearances in the editor, just not being applied to the mesh correctly.
I have attached a picture showing the current texture, and then the black in the screen. Any help would be greatly apprecaited!