Hi Code Maker in first thank you for answer!
Your example working pretty fine but in my game is different.. mmmm
here my code:
//Debris creation
for eba = 8201 to 8201+num_max_detriti_b
make object box eba,RandReal(10, 30),RandReal(10, 30),RandReal(10, 30)
SET OBJECT EMISSIVE eba, rgb(255,255,0)
// X Y Z
rotate object eba , RandReal(1, 359) , RandReal(1, 359) , RandReal(1, 359)
hide object eba
next
and please look at picture:
You can notice the debris boxes are NOT full yellow like in your example.. mmmmm
here my scene configuration:
set ambient light 60 //60
COLOR AMBIENT LIGHT rgb(255,253,206)
fog on
fog color rgb(218,218,218)
fog distance 15000 //15000
SET NORMALIZATION on
Could this set be wrong? I tried to change these parameters but nothing.. mmmm
EDIT: I tried to put my scene configuration in your example and it still working fine.. So I don't understand why my debris are NOT full yellow
EDIT 2 : Now it's working! just forgot to use color object and set object emissive togheter! THANK YOU VERY MUCH Code Make!