I can't make the car windows more transparent using a shader. If I apply a shader with transparency to vehiclegeneric256, it works more or less (screenshot 1). But as soon as I use custom lighting, all other parts of the vehiclegeneric256 texture also become transparent (screenshot 2).
The reason I started doing this is that dl_core and other shaders don't work through car windows (screenshots 3 and 4), and I haven't found a solution to this problem.
What I'm using:
dl_core
dl_lightmanager
dl_vehicles
Shader (used on engineApplyShaderToWorldTexture(vwShader, "vehiclegeneric256", source)):