N
NoCodeMonkey
Guest
Code:
tex = background_get_texture(bBox); // Store a texture into variable
d3d_draw_block(200, 300, boxHight, boxLength, 350, 0, tex, 1, 1); // Draw square shape with texture of tex
d3d_set_lighting(true); // Turn lighting on
d3d_light_define_point(1, 250, 0, -50, 2000, c_white); // Set point of light source
d3d_light_enable(1, true); // Turn light #1 on;