Error in the Standard Assets

Ola signoritas xD

I created a topic about this a while ago, but I never had an answer, so now it happened again, so i took some screenshots so i can show it to you…

First of all, I was collecting some (very usefull!) stuff from the FPS tutorial.
But again at the explosion stuff, im getting huge errors.

Look at this x)

This is standard explosion from Standard Assets, freshly imported, And the smoke standard explosion.
And i get pixelled out stuff like that?

Running XP SP3 64 bit. Quad core, high end ATI radeon card, etc etc.

I would really like an answer, my game looks like crap like this xD

Greetings, myself!

yes, that certainly does look like crap!

Now, the problem is not your hardware since graphics cards have been able to do alpha-channel texturing since the 3Dfx days.

I DL’d the FPS tutorial and it too is exhibiting this same alpha texture problem with explosions, eg the first barrel in the hangar.

Hmmmm. This kind of problem is either a texture import problem, a shader problem, or an internal state problem in the guts of the rendering code (which can be hard to find).

So I first monkeyed with the texture, changing the format to ARGB, then adding an explicit alpha channel in Photoshop, but the problem was still there.

So the next thing was to look at the shader . . . and changing it from Particles/~Additive-Multiply to anything else works as expected.

Apparently there is a problem with that shader. Googling, I found this:

http://forum.unity3d.com/viewtopic.php?p=206390

which mentions this additive multiply shader having . . . issues.

I went and got the shader sources, and this line stands out:

				combine previous * primary DOUBLE, one - texture * previous

I’m a shader noob but changing that to:

				combine previous * primary DOUBLE, texture * previous

fixes the alpha problem! The blending doesn’t look sexy, so I’m not sure this is quite the effect the original author was going for, but it sure beats those black boxes!

I’ve attached the shader here, just create a new shader, paste in this code, and change your material to use this new shader.

221728–8040–$newshader_461.shader (851 Bytes)

I really like all that, what u said n stuff.
but its not only for me. its for the community also x)
if there are noobs starting Unity, and maybe intrested in buying Pro like i did. And then get errors like these.
i would be on other engines real quick…
So, it has to be fixed in the standard Assets, sometimes it worked. but mostly not. i totally dont like the way how it flips around >.< like Work/Not work…
:s

Ah well, have a nice day. and id like a reaction from Unity itself :X

Had the same problem here with only the “Particles/Additive-Multiply”

Try switching it to any of the other ones, they all work for me here.

I ran into this problem when upgrading my project to 2.6.
Any word on why this is currently broken?

Thanks!

I realize this is an old thread, but I had the same problem and stumbled on the solution here.

The alpha channel of the “Tint Color” property on the “Particles/Additive-Multiply” is importing at 255 (or full). I think it needs to be 0.

I think there was an error in the import somewhere. I’ve seen this on some of my other shaders too, but I think I had a 255 alpha import as 0.

I solved my standard/pro asset issues by reimporting the assets into my converted 2.6 project. Solved everything.