I'm going to type in 3 cryptic lines in GLSL. Try them out yourself - maybe they can find a cozy home in one of your demos.
you can probably contract that into 1 line.
Είσαι πράγματι *ΤΟΣΟ* ανόητος;
8 years ago
That's actually a quite neat effect in it's simple glory.ReplyDelete
super nintendo mosaic effect with borken triangles ?ReplyDelete
not so broken (thats why you need the +gl_Position. factor)ReplyDelete
isnt it easier to go 1-line way from the beginning?ReplyDelete
btw. its cool to do that twice=) :ReplyDelete
Also as already pointed out I am pretty sure using "floor()" instead of cast-to-int and cast-to-float is WAY more optimized (depends on the compiler but I believe the GLSL compilers aren't all that advanced right now).ReplyDelete
Using rendermonkey, I get this : http://tof.canardpc.com/show/8a57624d-bf10-404f-9d72-643f34342bfc.htmlReplyDelete
Did I do something wrong ?
Oh in object space instead of worldspace, right...ReplyDelete