2 ms·
I've been doing similar things with shaders. I'm fiddling with rewriting one of these in GLSL.
by microcolonel 11y ago
I've been doing similar things with shaders. I'm fiddling with rewriting one of these in GLSL.
- essenmitsosse 11y agoMy idea was, that these principles could basically be applied to everything. Even 3d-stuff. Its mainly just about having an easy straight-forward way of designen stuff, thats coupled to some variables (in this case the output resolution)
- microcolonel 11y agohttps://github.com/bwhmather/missile-game/pull/9 https://github.com/bwhmather/missile-game/pull/9 Ben Mather and I were talking a bit about this. He suggested that we could compose signed distance sampling functions for shape rendering, and I implemented this in a demo ( http://codepen.io/xorgy/pen/dGmMLz http://codepen.io/xorgy/pen/dGmMLz ). In this case, it's actually pretty easy to implement an editor for arranging functions like this. You could probably generalize the concept to other kinds of functions.