Please post here if you have questions about Sprytile. Also feel free to contact me on Twitter.
General Help and Support Sticky
Thanks for trying out Sprytile! You can see how Unity will render your mesh my turning on Backface Culling. In the right hand side panel of the viewport (press `n` if it isn't visible) expand 'Shading' and toggle Backface Culling on.
There's a way to make faces double sided using a utility that comes with Sprytile, covered in the advanced documentation.
Hope to see the cool stuff you make with Sprytile!
That's a pretty neat thing you're doing. This issue should be fixable on Unity's side. What is the material you're using?
For reference, I'm testing on Unity with an "Unlit/Transparent Cutout" material and the sorting on the guardrails work correctly.
You're right, I feel like an idiot. I stayed up all night playing with Sprytile so my brain must be fried, sorry! I had it set on the Standard shader with the UV map set for albedo but the rendering mode was set to fade. I've set it to opaque and it works mostly great, with the exception that it did something weird to the transparent tiles (the image on the left is before, on the right is after). I'll keep playing around with it within Unity and figure it out, thanks so much!
Sure! OK, so I finally got a perfect result I'm happy with, but I'm going to play with it more before I post to that thread. I think it was just another case of me being dumb. I'm using the "Standard" shader with the "Cutout" Rendering Mode--the fatness/weirdness of the wooden bars were due to Alpha Cutoff being set to 0 (I progressively feel more like an idiot the longer this thread lasts, haha, the DEFAULT is .5, not sure how it got set to 0). I set the Alpha Cutoff to x >= .5 and it renders perfectly. I can't use unlit since I have a day/night cycle in the game, and the light adjusts accordingly.
I combined this with the technique posted about in the other thread describing the GIMP script that automatically spaces and margins the tileset and I get zero bleeding / perfect rendering. I'll post all the stuff I learn about the Unity workflow after I finish one full asset and I have a bit more experience in this--I don't want to post something incorrect. Thanks again for all your help and for making this and sorry for all my stupid questions!
Hi. There isn't a way to repeat the same tile on a single face because it wouldn't be technically possible without a specific shader.
What you could do is use the set normal mode on the face and use the build tool to create to roof tiles along that normal. There's a written explanation of set normal mode in the advanced documentation.
Hope this helps!
I saw your Twitter post so this might have been sorted out already, but replying in case it helps other people as well.
Which renderer are you using? I've only really tested with Blender's internal renderer and the quick material setup is really designed for an unlit look. The material settings may have to be changed to use the Cycles renderer or for a differently lit scene.
The work plane being stuck on a single axis sounds like Axis Lock might be on. It's not covered in the basic tutorial but the written advanced tutorial does. Basically the toggle on the left of the axis indicators in the Sprytile panel.
Sprytile's tools are untested with subdivided meshes and is not really designed for that use case.
This style of rendering is really neat and an unexpected use of Sprytile for me! Would love to be updated with how you push these renders.
Thanks for using Sprytile!
Thanks for taking the time to check out Sprytile!
Can you please try going back to object mode and pressing the "Set Material to Shadeless" button in the Sprytile panel?
This might be something to do with your Blender system settings. Can you open your user preferences window and switch to the system tab? For reference, this is what mine looks like.
You can also try deleting the lights in your scene.
I switched over to cycles and added an image texture and then this worked in cycles but upon returning from this back to blender render. I found that this made my screen do this whole orange thing too. It may be related to this that caused you this issue especially if you tried experimenting around in cycles and then switched back and so on.
This might be a more general Blender issue, but to be sure I'd like to take a look at the .blend file. There might be a material setting the setup function isn't taking into consideration. Would it be possible to upload your file somewhere? Or if not, it could be sent through email.
What a strange error, glad you have a usable copy of Blender to use at least. You could also try downloading the portable builds of Blender to see if it helps. Have fun with Sprytile!
Thanks for letting me know, I don't really use the Cycles renderer myself. It's probably something to do with OpenGL access being different when Cycles is active.
No, you can just add as an image texture and it seems to work.
Came across this too when I tried to reproduce the issue. Textures not showing up seems to happen when you start a new scene with Cycles on before using Sprytile. It's a little strange that it continues to work when switching to Cycles after setting up Sprytile, but this issue has been noted in the recent docs update :)
I haven't had PayPal errors reported to me yet, but this sounds like it would be better reported to itch. Thanks for your interest in supporting Sprytile!
It sounds like the mipmap settings weren't saved in the blender preferences. Go back to the user preferences step in the tutorial about the mipmap settings and make sure to press save preferences on the bottom corner of the window before closing the preferences.
This is using Blenders internal renderer? I've been rendering using that and don't remember having to take any extra steps, the material and texture setup should theoretically take care of it.
I'm afraid I'll only be able to help with this tomorrow since I'll be AFK, but try searching for mipmap settings, either in the system settings or the material.
The same method that fixes this issue on other engines fixes it for me so I'm currently using a script to convert the tilesets and it's probably for the better anyways since it seems to be an issue outside of blender even if it isn't an issue internally for everyone. I've also had to start unchecking transparent after setting the material to shadeless which I do not recall having to do before (I also recall the first time [before this shadeless issue], I tested this that it just worked without seams as well not sure if the two issues are related or if im just having a false memory though.
Hmm, a bit difficult to diagnose this without more to go on. It's possible the problem is the viewport shading mode, which I do need to highlight in the next documentation pass.
Make sure the viewport shading is set to material when this happens next.
The axis lock button is pressed. Turn off the button under “auto merge” and you should be able to paint on the camera view axis again.
Thanks for trying out Sprytile!
Well, now I feel silly. I updated sprytile and there it is.
Sorry for the inconveniance :P
- While in edit mode, change to face mesh select mode by pressing Ctrl+Tab
- Select the faces to delete by right clicking
- You can also use paint selection by pressing `C` and painting the selection. Scroll the mouse wheel up and down so change the brush size
- After selecting the faces/tiles you want to delete, press `X` or the delete key and select `Faces`
The documentation has moved to a different URL. If links to documentation are broken, you can probably find it in the new URL.
Hmm, you shouldn't need to be doing anything else. I can't think of any settings that would do this. When you enter build mode, do you see the tile preview in the viewport? Are you still able to create faces with the build tool?
Hi, here is a screenshot. I'm in the build mode, there is no preview in the lower right corner. I thought that maybe some other addon is in some sort of conflict with sprytile, so i turned of bPainter and HardOps addonsm after i took thes screenshot but it did not help.
Not visible on this picture is the fact that i can build as intended, i even get semi-transparent preview of the tile, offset works so I can pick the part of my tile set manually via offset but is not the most comfortable workaround.
As far as I could see other features of the addon work as intended.
Thanks for the help.
edit: just to add.. I am using a 2k tileset that I made, for testing, as I do not intend to use Sprytile for pixel art style.
Hmm. I've not tested the UI with a texture that large, I can imagine it bugging out when handling textures at that size. Can you open the system console to check for error messages?
Thanks for support!
Here is console readout, after starting on a new file, loading tileset, and pressing "build"
edit: i tried laoding 1k texture and it works. However, it would be cool if bigger textures could be loaded for uses beside pixel art
Thanks for the console dump. It looks like there are no overt errors, I just never considered the use case of very large textures.