samples/07_advanced_rendering/03_render_target_viewports/app/main.rb
# Shows output of different kinds of solids on the screen
Shows output of different kinds of solids on the screen
Shows output of different kinds of solids on the screen
def solids_tech_demo
    outputs.labels << [  5, 350, "Solids (x, y, w, h, r, g, b, a)"]
    outputs.solids << [ 10, 270, 50, 50]
    outputs.solids << [ 70, 270, 50, 50, 0, 0, 0]
    outputs.solids << [130, 270, 50, 50, 255, 0, 0]
    outputs.solids << [190, 270, 50, 50, 255, 0, 0, 128]
    outputs.solids << [250, 270, 50, 50, 0, 0, 0, 128 + state.tick_count % 128] 
  end
def solids_tech_demo outputs . labels << [ 5 , 350 , "Solids (x, y, w, h, r, g, b, a)" ] outputs . solids << [ 10 , 270 , 50 , 50 ] outputs . solids << [ 70 , 270 , 50 , 50 , 0 , 0 , 0 ] outputs . solids << [ 130 , 270 , 50 , 50 , 255 , 0 , 0 ] outputs . solids << [ 190 , 270 , 50 , 50 , 255 , 0 , 0 , 128 ] outputs . solids << [ 250 , 270 , 50 , 50 , 0 , 0 , 0 , 128 + state . tick_count % 128 ] end
Shows output of different kinds of solids on the screen
Shows output of different kinds of solids on the screen
# transparency changes