Close Menu
  • Home
  • Opinion
  • Region
    • Africa
    • Asia
    • Europe
    • Middle East
    • North America
    • Oceania
    • South America
  • AI & Machine Learning
  • Robotics & Automation
  • Space & Deep Tech
  • Web3 & Digital Economies
  • Climate & Sustainability Tech
  • Biotech & Future Health
  • Mobility & Smart Cities
  • Global Tech Pulse
  • Cybersecurity & Digital Rights
  • Future of Work & Education
  • Trend Radar & Startup Watch
  • Creator Economy & Culture
What's Hot

IMR chief on why manufacturing innovation is significant for Eire

February 11, 2026

Africa-focused enterprise builder Delta40 closes $20 million fund

February 11, 2026

Strateq introduces new AI Ecosystem to assist M’sian enterprises

February 11, 2026
Facebook X (Twitter) Instagram LinkedIn RSS
NextTech NewsNextTech News
Facebook X (Twitter) Instagram LinkedIn RSS
  • Home
  • Africa
  • Asia
  • Europe
  • Middle East
  • North America
  • Oceania
  • South America
  • Opinion
Trending
  • IMR chief on why manufacturing innovation is significant for Eire
  • Africa-focused enterprise builder Delta40 closes $20 million fund
  • Strateq introduces new AI Ecosystem to assist M’sian enterprises
  • Customized-Constructed Mechanical Battery Powered by a Pendulum
  • 👨🏿‍🚀TechCabal Every day – Entry denied in South Africa
  • How Shiprocket turned the bridge between Bharatpreneurs and nationwide markets
  • NVIDIA Researchers Introduce KVTC Rework Coding Pipeline to Compress Key-Worth Caches by 20x for Environment friendly LLM Serving
  • Weird Take a look at the Home windows 98 Toaster, a Retro Desktop PC That Truly Makes Breakfast
Wednesday, February 11
NextTech NewsNextTech News
Home - North America - Actual-Time 3D Shader for the Recreation Boy Shade Turns into a Actuality
North America

Actual-Time 3D Shader for the Recreation Boy Shade Turns into a Actuality

NextTechBy NextTechFebruary 9, 2026No Comments3 Mins Read
Share Facebook Twitter Pinterest LinkedIn Tumblr Telegram Email Copy Link
Follow Us
Google News Flipboard
Actual-Time 3D Shader for the Recreation Boy Shade Turns into a Actuality
Share
Facebook Twitter LinkedIn Pinterest Email



Danny Spencer took his trusty previous Recreation Boy Shade and turned it right into a canvas for real-time 3D shading, remodeling the straightforward handheld into an incredibly convincing three dimensional setting. Because the teapot spins, its curves seize the sunshine from a supply you management with the D-pad, inflicting shadows to change seamlessly in response to every nudge.



Pixels mild up one after the other with a Lambertian shader, which tells you precisely how instantly mild hits a floor, and Spencer solved the issue of multiplying non-integer numbers by baking floor info into regular maps and storing them in tiny three-byte chunks within the ROM. Every pixel selects a standard vector from these maps, doses it with mild path, and outputs a shade starting from lifeless black to full-on white. The teapot’s spout glints within the mild or falls into shade, with every body a complete new creation from uncooked calculations.

The {hardware} won’t be happy as a result of the Recreation Boy Shade solely runs at 8 MHz, which equates to roughly 140,000 cycles every 60 FPS body. There isn’t any multiply command, so Spencer needed to get creative. He had no hassle swapping multiplications for logarithms and lookup tables. Log tables convert merchandise into sums, whereas energy tables do the reverse. All values are compressed into 8-bit fractions from 1 to 1, with indicators hidden away within the highest bits. Damaging numbers in logarithmic house? No want to fret, he flags them independently and makes modifications on the fly.

Game Boy Color Real-Time 3D Shader
To cut back the workload, Spencer shifted to spherical coordinates, by which vectors grow to be angles: tilt (theta) and spin (phi), the place mild theta stays fixed and also you solely alter phi to maneuver the sunshine. The dot product is an easy method: sin(Nθ)sin(Lθ)cos(Nφ – Lφ) + cos(Nθ)cos(Lθ). One subtraction later, he’s incorporating a customized cos_log desk, a mixture of cosine and logarithm, to hurry issues up. 5 lookups each pixel, subtract, add, lookup, add, for a complete of 960 pixels and 89% of the body funds.

Game Boy Color Real-Time 3D Shader
Spencer can patch the shader technique in actual time, swapping reminiscence masses for hard-coded immediates. That’s an extra 8 cycles saved each subtraction, for a complete of 11,520 over the body. He skips over rows that comprise no pixels at a price of three cycles per pop. Because of this, all the frames stay constant, even with some slight LCD ghosting to deal with.

Game Boy Color Real-Time 3D Shader
You’ll be able to look at the code for your self within the GitHub repository, which was compiled with the RGBDS toolkit and consists of Python scripts to rework Blender regular maps into ROM knowledge. Two ROMs seem: teapot and gbspin. The releases web page accommodates pre-compiled variations that can get you up and working. You’ll be able to launch the BGB emulator or flash it onto a cart. Or, higher but, merely press some keys on Spencer’s web emulator.
[Source]

Elevate your perspective with NextTech Information, the place innovation meets perception.
Uncover the newest breakthroughs, get unique updates, and join with a world community of future-focused thinkers.
Unlock tomorrow’s developments at present: learn extra, subscribe to our publication, and grow to be a part of the NextTech neighborhood at NextTech-news.com

Share. Facebook Twitter Pinterest LinkedIn Tumblr Email
NextTech
  • Website

Related Posts

IMR chief on why manufacturing innovation is significant for Eire

February 11, 2026

Customized-Constructed Mechanical Battery Powered by a Pendulum

February 11, 2026

Weird Take a look at the Home windows 98 Toaster, a Retro Desktop PC That Truly Makes Breakfast

February 11, 2026
Add A Comment
Leave A Reply Cancel Reply

Economy News

IMR chief on why manufacturing innovation is significant for Eire

By NextTechFebruary 11, 2026

Kennedy goes in depth on IMR’s work in supporting producers of all sizes in Eire.…

Africa-focused enterprise builder Delta40 closes $20 million fund

February 11, 2026

Strateq introduces new AI Ecosystem to assist M’sian enterprises

February 11, 2026
Top Trending

IMR chief on why manufacturing innovation is significant for Eire

By NextTechFebruary 11, 2026

Kennedy goes in depth on IMR’s work in supporting producers of all…

Africa-focused enterprise builder Delta40 closes $20 million fund

By NextTechFebruary 11, 2026

Delta40, an Africa-focused enterprise builder, has closed a $20 million fund that…

Strateq introduces new AI Ecosystem to assist M’sian enterprises

By NextTechFebruary 11, 2026

Malaysia’s synthetic intelligence ambitions took a visual step ahead this week as…

Subscribe to News

Get the latest sports news from NewsSite about world, sports and politics.

NEXTTECH-LOGO
Facebook X (Twitter) Instagram YouTube

AI & Machine Learning

Robotics & Automation

Space & Deep Tech

Web3 & Digital Economies

Climate & Sustainability Tech

Biotech & Future Health

Mobility & Smart Cities

Global Tech Pulse

Cybersecurity & Digital Rights

Future of Work & Education

Creator Economy & Culture

Trend Radar & Startup Watch

News By Region

Africa

Asia

Europe

Middle East

North America

Oceania

South America

2025 © NextTech-News. All Rights Reserved
  • About Us
  • Contact Us
  • Privacy Policy
  • Terms Of Service
  • Advertise With Us
  • Write For Us
  • Submit Article & Press Release

Type above and press Enter to search. Press Esc to cancel.

Subscribe For Latest Updates

Sign up to best of Tech news, informed analysis and opinions on what matters to you.

Invalid email address
 We respect your inbox and never send spam. You can unsubscribe from our newsletter at any time.     
Thanks for subscribing!