Better HN
topnewbestaskshowjobs
Log inSign up

csabahruska

11 karma · joined Dec 27, 2015 (10y ago) · 2 submissions

Submissions

comment 10y ago · link · parent

In lambdacube 3d you can program the CPU/GPU (OpenGL+GLSL) in one typed language. (http://lambdacube3d.com/)

comment 10y ago · link · parent

that OpenGL code is written like this in LambdaCube 3D:

  main = ScreenOut (FrameBuffer (ColorImage @1 (V4 0 1 0 1.0)))
or with depth + color buffer

  main = ScreenOut (FrameBuffer (DepthImage @1 1000, ColorImage @1 navy))