# Stylized GGX Shading: How to Get Toon Highlights with PBR

> Hacker News story 49167096 · language: en · submitted 2026-08-04
> Web version: https://zeli.app/story/49167096
> About this feed: https://zeli.app/llms.txt · Agent guide: https://zeli.app/skill.md

▲ 57 · by [ibobev](<https://news.ycombinator.com/user?id=ibobev>) · 💬 0
[original](<https://alexandrelamure.github.io/graphics-posts/stylized-ggx-shading.html>) · [HN discussion](<https://news.ycombinator.com/item?id=49167096>)

## Summary

This article presents a method for achieving stylized, toon-like specular highlights while retaining the benefits of physically based rendering. By modifying the GGX Trowbridge-Reitz normal distribution function with a 'Specular Size' parameter, highlights can be expanded at low roughness while preserving soft gradients at high roughness. An improved version uses a 'GGXMatching' parameter to better match the original GGX shape for rough materials. The author shares insights from game development, including additional techniques like reduced SH coefficients and rim lighting.

## Key quote

> Our new 'Specular Size' parameter allows us to return more energy at higher angles while preserving the original shape of the NDF.

---

## Cite

- Page: https://zeli.app/story/49167096
- Date: 2026-08-04
- Source: alexandrelamure.github.io (https://alexandrelamure.github.io/graphics-posts/stylized-ggx-shading.html)
- Hacker News: https://news.ycombinator.com/item?id=49167096

## Other languages

- zh: https://zeli.app/zh/story/49167096 · markdown: https://zeli.app/zh/story/49167096.md
- ja: https://zeli.app/ja/story/49167096 · markdown: https://zeli.app/ja/story/49167096.md
- ko: https://zeli.app/ko/story/49167096 · markdown: https://zeli.app/ko/story/49167096.md
- de: https://zeli.app/de/story/49167096 · markdown: https://zeli.app/de/story/49167096.md
- es: https://zeli.app/es/story/49167096 · markdown: https://zeli.app/es/story/49167096.md
