Plaster
New
List
Login
common-lisp
default
shinmera
2019.07.22 09:16:11
(glsl-packing:pack-structs '((:packing :std140) (:struct () (:vec :float 3) (:array (:struct () (:int 32) (:vec :float 3) (:vec :float 4) (:vec :float 3) (:float 32)) 32) (:int 32))))
Raw
Annotate
Repaste
Annotations
common-lisp
default
shinmera
2019.07.22 09:25:18
(glsl-packing:pack-structs '((:packing :std140) ("struct1" (:struct () ("gi" (:vec (:float 32) 3)) ("lights" (:array (:struct () ("type" (:int 32)) ("loc" (:vec (:float 32) 3)) ("dim" (:vec (:float 32) 4)) ("color" (:vec (:float 32) 3)) ("int" (:float 32))) 32)) ("count" (:int 32))))))
Raw
Repaste
common-lisp
default
shinmera
2019.07.22 09:31:31
(glsl-packing:pack-structs '((:packing :std140) ("light" (:struct () ("type" (:int 32)) ("loc" (:vec (:float 32) 3)) ("dim" (:vec (:float 32) 4)) ("color" (:vec (:float 32) 3)) ("int" (:float 32)))) ("Lights" (:block (:instance "lights") ("gi" (:vec (:float 32) 3)) ("lights" (:array "light" 32)) ("count" (:int 32))))))
Raw
Repaste