hi no math you don't i was just trying to get it to work you can use 128 or 64 to make a bump map also the specular works got to put a light on the camera what ever your looking at and attach it to the object your looking through hope this helps! here is the code
SET DISPLAY MODE 1024, 768, 32
sync
Sync on
sync rate 100
Rem make matrix
backdrop on
SET CAMERA RANGE 1,10000
make object sphere 4,-10000
set object cull 4,0
position object 4,1,1,1
Make matrix 1,10000,10000,20,20
Rem texture matrix
load image "rain.png",1,1
load image "brick2.jpg",2
load image "brick12.bmp",4
load object "testd.x",1
set bump mapping on 1,4
texture object 1,2
position object 1, 0,0,0
set sphere mapping on 1,1
set blend mapping on 1,4,8
set object specular 1, rgb(255,255,255)
set object specular power 1,100
position object 1,2500,130,2000
Rem Update the changes to the matrix
update matrix 1
Rem Main loop
Do
set cursor 50,0
print screen fps()
Rem Store Object angle
CameraAngleY# = Camera angle Y()
Rem Control input for camera
If Upkey()=1 then Move camera 10
If Leftkey()=1 then Yrotate Camera Wrapvalue(CameraAngleY#-5)
If Rightkey()=1 then Yrotate Camera Wrapvalue(CameraAngleY#+5)
If Spacekey()=1
Fill matrix 1,Rnd(50),Rnd(3)+1
randomize matrix 1,250
Endif
X# = Camera position X()
Z# = Camera position Z()
Position Camera X#,250,Z#
Rem Refresh Screen
Sync
Loop
Kolp try72y