Just been thinking about how to mark a part get darker.
For example, an engine bay. If you open an access panel more light comes in while when it is closed the engine will be rather dark (much more so than if you were using aircraft casts shadows on itself).
Now, I know how to make a texture light up by varying amounts. Assign a VC texture to the night map texture and then create a gauge using the transparency option of the draw rectangle command to darken and brighten according to need.
But that wouldn't work when trying to darken a normal part would it? As it requires use of the emmissive night map.
So, thinking about it a bit I thought I would try using the detail texture. Add a VC texture to the detail texture name, make sure detail tiling is set to 1 and then create a gauge. 128 grey is normal and shouldn't affect the diffuse texture but if you darken the VC display it makes the diffuse texture darker.
Neat.
Plus, you can make your VC texture really small (maybe 64x64 pixels) to save memory and frames.
I won't show you an example as I only tried this out on a propeller texture so it looks rather silly really. But as a proof of concept it works.
For example, an engine bay. If you open an access panel more light comes in while when it is closed the engine will be rather dark (much more so than if you were using aircraft casts shadows on itself).
Now, I know how to make a texture light up by varying amounts. Assign a VC texture to the night map texture and then create a gauge using the transparency option of the draw rectangle command to darken and brighten according to need.
But that wouldn't work when trying to darken a normal part would it? As it requires use of the emmissive night map.
So, thinking about it a bit I thought I would try using the detail texture. Add a VC texture to the detail texture name, make sure detail tiling is set to 1 and then create a gauge. 128 grey is normal and shouldn't affect the diffuse texture but if you darken the VC display it makes the diffuse texture darker.
Neat.
Plus, you can make your VC texture really small (maybe 64x64 pixels) to save memory and frames.
I won't show you an example as I only tried this out on a propeller texture so it looks rather silly really. But as a proof of concept it works.


