Topics /

Games & Graphics

The most popular blog posts about games & graphics on Hacker News. 2,047 posts.

Any year
813

WebAssembly Raytracer

While teaching a web development class, I wanted to present some benchmarks that show the performance benefits of asm.js as well as WebAssembly. I was unfortunately not able to find a suitable reference. Therefore, I implemented a simplistic raytracer in JavaScript as well as in C++ with a similar code structure while…

818

Happy 20th Birthday, Quake

Twenty years. Wow. Where has all the time gone? We've all had many adventures during those years and Quake spawned many a game franchise and/or game company whether directly or through its influence. For this 20th I'm going to share a document created by Joost Shuur called QUAKETALK 95. This Quak

822

Stylized Water Shader

💦 A huge, step-by-step tutorial on how to create a beautiful stylized water shader in Unity using Shader Graph. This works with Unity's Universal Render Pipeline (URP). Includes colors, foam, refraction, reflections, caustics and Gerstner waves.

825

Gamedev Tutorial: Dot Product, Rulers, and Bouncing Balls

[latexpage] 本文之中文翻譯在此 Prerequisites Trignometry Basics – Sine & CosineTrigonometry Basics – Tangent, Triangles, And CannonballsInverse Trigonometric Functions, Slope Angles, And Facing Objects Overview The dot product is a simple yet extremely useful mathematical tool. It encodes the relationship between two vectors'…

827

Porting 58k lines of D and C++ to Jai

In this series of blogposts, I will document my experience of porting the game that I am currently working on to the jai programming language. It’s currently written in mostly D and some C++ and comes in at exactly 58,620 lines of code (excluding libraries). I’ve planned on doing this for a long time and want to keep…

838

Technicalities of Homeworld 2 Backgrounds

Just kidding. Of course, I have something to say about this. In the company, we look at the art of Homeworld from time to time and bow to the creators of this masterpiece. Once, we talked about how great the background look and how interesting this sketched style is. There is something…some details seem…special to us: