Could we change the title to the actual title of the article? I was, let's say, really scared when tapping the link with the current title.
I fixed it. Thanks.
Rendering my (billiard) balls in a fragment shader
31–40 of 88 posts
Re: Rendering my (billiard) balls in a fragment shader
#32https://web.archive.org/web/20130913033312/http://www.voofoo...
Re: Rendering my (billiard) balls in a fragment shader
#33Re: Rendering my (billiard) balls in a fragment shader
#34I'm just getting my feet wet with shaders myself. Could this fragment shader be used in a "real" 3D game? At the moment, the sphere is orthographicly projected onto the screen so the sphere will always appear as a circle rather than an ellipse. How easy would it be to use this shader in place of a spherical mesh as you might find in a typical geometry based 3D render? I.e. could you use the same technique and render…
Re: Rendering my (billiard) balls in a fragment shader
#35I happened to notice that PI is #define'd to 3.1415926538, which isn't the correctly rounded off value of 3.14159265358... Seems like they missed a '5'.
Re: Rendering my (billiard) balls in a fragment shader
#36I happened to notice that PI is #define'd to 3.1415926538, which isn't the correctly rounded off value of 3.14159265358... Seems like they missed a '5'.
Re: Rendering my (billiard) balls in a fragment shader
#37"Rendering my balls" says something very different to "rendering balls".
Although the hair would be impressive if you managed to do it.
(Testicles btw)
Re: Rendering my (billiard) balls in a fragment shader
#38Fyi. "Rendering my balls" says something very different to "rendering balls". Although the hair would be impressive if you managed to do it. (Testicles btw)
Re: Rendering my (billiard) balls in a fragment shader
#39This reminds me of the same rendering technique described in Hustle Kings for the PS3. There was a write up done, however shader code was not included. https://web.archive.org/web/20130913033312/http://www.voofoo...
Also he is placing his balls in a 3D environment with nice shadows that really help to sell the illusion.
That's a good find and an interesting read. Thank you.
Re: Rendering my (billiard) balls in a fragment shader
#40From the HN guidelines: please use the original title, unless it is misleading or linkbait; don't editorialize. The correct title is Rendering Pool Balls , not "Rendering my balls in a fragment shader".