- Home /
Adding a Material to Particle System
Hey all,
I currently having issues attaching materials to my particle system. I am trying to make a water effect, and would like to add a foamy texture to the particle system. The problem is that whenever I add a material to the particle system, it comes out very blocky (round particles are square in shape). I have been setting the Shader to Particle > Additive (soft), but I've tried other modes that don't work either. Any help would be very appreciated!
Thanks!
Sounds like your foamy texture might not have a proper alpha channel. You can check the texture's import settings by selecting it in the inspector. There should be options to generate alpha data from grayscale. Try that?
Answer by Stefan Alexander · Aug 23, 2014 at 10:58 PM
When you imported the material, make sure that the texture you used was imported as GUI (or any other format that could make the background of your foam transparent). You can do this by going to the texture you used to make the material, clicking on it, and under the inspector selecting GUI (even though you're not using it for that purpose) and hit apply. Also, make sure that in the texture image itself, that the background of the image is transparent in the first place.
P.S." Jpg and Pds image files support transparent backgrounds BTW.
P.P.S: If it does't work then just forget I said anything, I'm a newbie anyway.
Thanks! I figured out that I was using a bad texture JPG - I downloaded a new one with a black background and it worked much better
Your answer
Follow this Question
Related Questions
Spawn Explosions Horizontally 1 Answer
Image loaded with LoadImageIntoTexture gets inverted 0 Answers
Material/Texture on the Inside of a Sphere 5 Answers
How can I swap an object's texture when I click? 2 Answers
CRT/LCD screen shader (for materials) 4 Answers