- Home /
Particles dont receive light correctly
I have a scene with a waterfall as a particle system, using additive shader. The whole environment is designed for day/night cycle, with an only directional light, the sun.
My problem is when night time, terrain becomes dark but particles remain lit. When trying other shaders, like alpha blended, the waterfall becomes too dark, even at day time. Adjusting tint colour/alpha channels dont work either.
As far as i know this behaviour may be caused by one or various of these factors:
Shader + pattern: The pattern used for the particles may be too dark?
Particle shader itself: Maybe the additive shader is programmed not to be influenced by any light on scene?
Particle system itself: I've read particle normals always face the same direction (camera or light, not sure now) so may the relative position of light dont affect it?
Terrain: the sun turns 360 degrees on the sky, so night occurs when the sun is under the terrain. Is it possible the terrain is not casting shadows on the waterfall above it?
Any help would be really apreciated.
Answer by Baalhug · Sep 07, 2013 at 04:17 AM
Well, i placed a sphere to test and a box surrounding the bot of the whole terrain but it didnt fix the problem, the box don't cast shadows on the sphere or the waterfall. After adjusting via script a brightness fade to the sun during the night, the light is no longer visible on the sphere but the waterfall keeps emitting light in the dark.
If i disable the light completely, the waterfall still emits light
Any suggestions?
Answer by Bayreuth · Sep 06, 2013 at 01:50 PM
Terrain: the sun turns 360 degrees on the sky, so night occurs when the sun is under the terrain. Is it possible the terrain is not casting shadows on the waterfall above it?
in this case the terrain wont cast shadows
Your answer
Follow this Question
Related Questions
Particles that only show in light 2 Answers
Any way to have particles cast light? 1 Answer
Cheap soft particles for mobile 0 Answers
(Bilboard Shader) Max Screen Size 0 Answers
3D Text Shader with light 0 Answers