Need help with Cartography lighting in Blitz3D

Blitz3D Forums/Blitz3D Beginners Area/Need help with Cartography lighting in Blitz3D

Alternatively you can set the gamma to make dark areas darker and light areas lighter using this code:

; Gamma Controller
For x=0 To 255
SetGamma x,x,x,(x+x/3)+10,(x+x/3)+10,(x+x/3)+10
Next
UpdateGamma


The numbers within the parentheses will control your contrast (lower the number, the higher the contrast) while the numbers outside of the parentheses will control the brightness (higher the number, the higher the brightness). What you want is high contrast with low brightness. So I would set the last three values in Set Gamma to:

SetGamma x,x,x,(x+x/2)+0,(x+x/2)+0,(x+x/2)+0


I found this works really well with levels made in Maplet or .x levels with .bmp/.jpg lightmaps. Or any level that appears to be a bit dark.