Slippery Jim
Pinball Wizard
- Joined
- Dec 13, 2018
- Messages
- 74
- Reaction score
- 25
- Points
- 25
- Favorite Pinball Machine
- Stern Dracula
I noticed in one of Slam's tables the room is dark and the machine has low intensity flood lighting. Has he done this with BAM?
Here is the code he has used, can someone explain what XBAM.Lights do? Do I need to add anything to the table for this to work?
Here is the code he has used, can someone explain what XBAM.Lights do? Do I need to add anything to the table for this to work?
Code:
Sub SetLightsParamsInBAM()
xBAM.Lights.EnableNewRenderer = TRUE
xBAM.Lights.MainLightLock = TRUE
xBAM.Lights.SetMainLightProperties 1, 0.6, 0.75, 0.075
xBAM.Lights.SetMainLightAttenuation 1, 0, 0
xBAM.Lights.SetOtherLightsAttenuation 0.2, 0, 1
xBAM.Lights.EnablePostprocessing = FALSE
xBAM.Lights.SetPostprocessing 1, 0, 1, 1
xBAM.Lights.SetPostprocessingForNewRenderer 1, 0, 1, 1, 2.2, 1, 1, 1, 0.2
End Sub
SetLightsParamsInBAM()
xBAM.Lights.BallReflection = 1.6
xBAM.Lights.BallShininess = 300
xBAM.Lights.BallSpecular = 1.6
xBAM.Lights.BallBrightness = 1.2
xBAM.Lights.Brightness = 1.2