TE
TechEcho
Home24h TopNewestBestAskShowJobs
GitHubTwitter
Home

TechEcho

A tech news platform built with Next.js, providing global tech news and discussions.

GitHubTwitter

Home

HomeNewestBestAskShowJobs

Resources

HackerNews APIOriginal HackerNewsNext.js

© 2025 TechEcho. All rights reserved.

Flat Surface Shader

120 pointsby msvanalmost 12 years ago

9 comments

skrebbelalmost 12 years ago
This is lovely, but it mostly just reminds me of how I can't wait until WebGL is so commonplace that we can finally ditch all that HTML/CSS nonsense.
评论 #6195883 未加载
pdknskalmost 12 years ago
This is probably a bit OT, but it makes me sad that flat shading as an art style has been abandoned in games. Ever since pixel shaders and normal maps gave us shiny plastic-y objects, developers haven't looked back.
评论 #6196156 未加载
seanmcdirmidalmost 12 years ago
I added a crumpled paper effect to a web browser once, the result was very cool:<p><a href="http://blogs.msdn.com/b/sean_mcdirmid/archive/2009/07/27/a-web-browser-suitable-for-harry-potter-in-wpf.aspx" rel="nofollow">http:&#x2F;&#x2F;blogs.msdn.com&#x2F;b&#x2F;sean_mcdirmid&#x2F;archive&#x2F;2009&#x2F;07&#x2F;27&#x2F;a-w...</a><p>I&#x27;m not sure if it was useful though.
ch0wnalmost 12 years ago
It blows my mind that I can switch between the three different renderers without dropping a noticing a single framedrop. I had to open the devtools and verify that there is actually a change happening to believe it.
评论 #6196484 未加载
sciencerobotalmost 12 years ago
&gt; I love WebGL, but unfortunately it doesn&#x27;t work everywhere.<p>What is meant by that? WebGL does seem to work here as in the appearance and frame rate are the same compared to SVG but with less CPU usage on my machine&#x2F;browser (Chrome).
评论 #6196365 未加载
ssiddharthalmost 12 years ago
Everything renders incredibly smoothly on my setup. And I&#x27;m learning all sorts of nifty tricks via the source. Thanks for making this!
shengalmost 12 years ago
it looks quite nice but unfortunately I guess it&#x27;s by far too power hungry. My GTX 560&#x27;s fan went up.
评论 #6196424 未加载
arcameronalmost 12 years ago
I&#x27;m very impressed by this! Awesome work, congratz on the outcome!<p>I think WebGL has a lot of potential, feel free to check out my hackish background bump mapping @<p><a href="http://anthonycameron.com/lab/background-bumps" rel="nofollow">http:&#x2F;&#x2F;anthonycameron.com&#x2F;lab&#x2F;background-bumps</a>
Detrusalmost 12 years ago
Can you do this easily with three.js? Can this library work with three.js?