Hi forum, sorry if this is the wrong spot. I'm looking to add normal/bump maps to my tiles in Unity 2018.3. I have a custom surface shader that makes use of a bump map, and its working fairly well on its own. But when I set the TilemapRenderer material to my custom surface shaded material, I can't find a way to control the normal texture per tile. It seems like this might just not be supported. I did find this, but it seems pretty limited. https://github.com/Unity-Technologi...pping/Material/Shader/NormalMappedTile.shader I'd really like each tile image to have its own normal map. As anyone done this? Is it not possible yet? My surface shader is pretty much a toon-shader plus a hatching shader. I'm going for a game with a cartoony-sketched vibe. It looks like this, when applied to some sample test art. (for anyone curious, this shader is pretty much 100% stolen for this paper, http://hhoppe.com/hatching.pdf) Any help would be greatly appreciated. Thanks, world. -Chris
Sorry, right now you will need to manually atlas your Tiles' textures and normal textures and have them match accordingly in the material as per the NormalMappedTile shader. We will be looking into this as part of our workflow for 2D lights!
Thanks for the quick response I hadn't thought of trying to atlas the texture. So that'd mean that all my tiles share the same texture, but differ in UV coordinates. I will research that when I get home tonight. I'm hoping its as simple as a code tweak... or do you think its more involved?
I copy pasted shader and material from github, it doesnt work. Sprite atlas of normals is the same as sprite atlas of tiles. Why?