Night Version of Route
2 posters
Page 1 of 1
Night Version of Route
I am using Route.ambientlight to create night version of the TTC YUS route. I was wondering how I can add light to stations and in the tunnels. Do I use Route.DirectionalLight somehow? Thanks in advance.
waterburn- Posts : 55
Join date : 2012-06-29
Re: Night Version of Route
Somehow the nighttime textures I specify in the CSV objects don't load even if I said the ambient light to low. Yet it works fine in route viewer. Anyone know why?
waterburn- Posts : 55
Join date : 2012-06-29
Re: Night Version of Route
I think your getting confused over the function of ambientlight and directionallight commands.
According to the documentation ambientlight is the colour of the ambient light source this will illuminate all objects regardless of orientation. Likewise directionallight is the colour of the directional light source and is used with lightdirection to set is position, it will only illuminate faces that face the light source.
The brightness command affects the light levels as perceived in the cab and is used to create the effect of tunnels, bridges, etc. Note that the level decreases or increases between two of these commands.
The effect of street lighting is done with the setemissivecolour command in the object file, making that particular face or faces appear to be lit up, rather than be illuminated by the ambient or directional light sources.
According to the documentation ambientlight is the colour of the ambient light source this will illuminate all objects regardless of orientation. Likewise directionallight is the colour of the directional light source and is used with lightdirection to set is position, it will only illuminate faces that face the light source.
The brightness command affects the light levels as perceived in the cab and is used to create the effect of tunnels, bridges, etc. Note that the level decreases or increases between two of these commands.
The effect of street lighting is done with the setemissivecolour command in the object file, making that particular face or faces appear to be lit up, rather than be illuminated by the ambient or directional light sources.
LabRatAndy- Posts : 101
Join date : 2011-08-29
Similar topics
» Wrong version name in about page in installer version
» Incorrect version in version.xml
» Cannot load a route, fails with "The selected route is corrupt: No objects defined."
» BVE version v FPS
» Old version 1.4.3.0
» Incorrect version in version.xml
» Cannot load a route, fails with "The selected route is corrupt: No objects defined."
» BVE version v FPS
» Old version 1.4.3.0
Page 1 of 1
Permissions in this forum:
You cannot reply to topics in this forum
|
|