You can’t build polygon in runtime. One of workarounds is use collada model and shader. 2d light implemetations - #7 by Ivan_Lytkin
Second way to use shader for casting rays. Problem with shader - #32 by d954mas
1 Like