- Home /
Particles only rendering in Sceneview from an angle and never in game
Unity 3.5.7f6
Basically no particles are rendering in our game, but we can view them in the scene view when we rotate the camera as per this SS:
http://i.imgur.com/4SUWMI8.jpg
Used to be that the particle effects would EVENTUALLY start rendering during a session but not even that no longer occurs.
We are using an ortho, vertex lit camera and all particlefx are in layers that the camera can see.
Any answers?
Answer by sh0v0r · Oct 16, 2013 at 01:50 AM
Try adding this script to the emitter and adjusting the Render Order past 3000. Also make sure the depth of the Ortho Camera is deep enough and you clipping planes are big enough.
public class RenderQueue : MonoBehaviour
{
public int renderOrder = 0;
int lastRenderOrder = 0;
void Start()
{
renderer.material.renderQueue = renderOrder;
lastRenderOrder = renderOrder;
}
void Update()
{
if (renderOrder != lastRenderOrder)
{
renderer.material.renderQueue = renderOrder;
lastRenderOrder = renderOrder;
}
}
}
Your answer
Follow this Question
Related Questions
How to show halos on top of alpha blended particles? 0 Answers
Particle System: Remove Unwanted Artifact 1 Answer
Shaderlab; stripes shader - make stripes at arbitrary angle 0 Answers
Particles behind Glass BumpDistort dependent on viewing angle 1 Answer
Changing the appearance of particles from another player's view 4 Answers