texture filtering, anti-aliasing off???

68 views
Skip to first unread message

Jack Rothwell

unread,
Jun 18, 2015, 12:06:41 AM6/18/15
to proces...@googlegroups.com
Hi guys.
Done a lot of work with processing, trying to make the big jump to the browser.
i'm using processing.js as a javascript api and beginning work on a project that simulates old-skool amiga style graphics.
is there any way to turn off texture filtering and antialiasing with webgl?
basically, in java processing I'm rendering to a PGraphics object and doubling the scale before drawing it to the screen.
equivalent java code is:

noSmooth();
((PGraphicsOpenGL)g).textureSampling(2);

i'm looking into using the externals js object and context variables but I'm new to webgl.
help???

Christian Leon Christensen

unread,
Jun 18, 2015, 2:15:13 AM6/18/15
to proces...@googlegroups.com

Just wanted to chime in that  I'd love to see this when you're done. Old Amiga fan here :)


--
You received this message because you are subscribed to the Google Groups "Processing.js" group.
To unsubscribe from this group and stop receiving emails from it, send an email to processingjs...@googlegroups.com.
To post to this group, send email to proces...@googlegroups.com.
Visit this group at http://groups.google.com/group/processingjs.
For more options, visit https://groups.google.com/d/optout.

Jack Rothwell

unread,
Jun 18, 2015, 2:32:56 AM6/18/15
to proces...@googlegroups.com
for sure! i'll upload to the exhibition and post in this thread.
Reply all
Reply to author
Forward
0 new messages