I wanted to add lights to my route, especially to the yards, but unfortunately the MSTS lights are not as good as the "light cones" on the locos. They only make a lighter pattern on the ground texture. When an object passes through the lights they do not light up, they remain as a black object. There are a couple of lights in the default routes that you can look at to get the effect. I decided that it wasn't worth doing at this stage.
I attached a screenshot, I want to make this type light effects in MSTS/OR
Page 1 of 1
How to make street lights which light effects used in locomotive headlight
#2
Posted 27 June 2018 - 01:43 AM
Yes...me too want this type of light in MSTS / Open rails...I have done many experiments over this, but still out of satisfied result...
#4
Posted 27 June 2018 - 03:01 AM
#6
Posted 27 June 2018 - 07:24 AM
As the sun effect works in daytime to lights up all objects, in the same way is it possible to make sun effects at night time to lights up some limited objects?
#7
Posted 27 June 2018 - 08:08 AM
#8
Posted 28 June 2018 - 03:40 PM
Whats needed is to have a what one may call a general light source, that can be used for ANY light source, be it locomotive headlight, signal lights, platform lights etc. For such a light source one would need to specify the light sources position, shape, colour. beam angle , beam dispersal (change in brightness over beam angle).
A slight problem here is that each light needs its own render, outside the main render thread. SO a large number of lights sources WILL slow the sim down.
In another train sim out there, such a general spec is the only way one can make a light source, much more flexible than MSTS. mind you MSTS was designed and built when both CPU and GPU power was VERY minimal so short cuts HAD to be taken.
Lindsay
A slight problem here is that each light needs its own render, outside the main render thread. SO a large number of lights sources WILL slow the sim down.
In another train sim out there, such a general spec is the only way one can make a light source, much more flexible than MSTS. mind you MSTS was designed and built when both CPU and GPU power was VERY minimal so short cuts HAD to be taken.
Lindsay
#9
Posted 29 June 2018 - 07:58 AM
Quote
A slight problem here is that each light needs its own render, outside the main render thread. SO a large number of lights sources WILL slow the sim down.
If you ignore shadows then light doesn't need render.
Without dynamic shadows, dynamic lights are really easy to do. One difficult thing is to do it with high performance. Otherwise you will get huge frame drop with huge amount of lights, because for every pixel you need to calculate light intensity for each light. With modern GPU that is not a problem.
Page 1 of 1