---
title: "Discussion on \"Defensive Edge Engineering for 3D Web Apps: Zero-Dependency PNG/JPEG/WebP & GLB Binary Parsers + Procedural PMREM Lighting in Three.js\" | Hashnode"
description: "Discussion on \"Defensive Edge Engineering for 3D Web Apps: Zero-Dependency PNG/JPEG/WebP & GLB Binary Parsers + Procedural PMREM Lighting in Three.js\". TL;DR: When you run an Image-to-3D SaaS on Cloudflare Workers, you cannot import sharp on the edge to validate uploads, you cannot run Three.js on the server to verify generated .glb files before char"
url: "https://hashnode.com/posts/defensive-edge-engineering-for-3d-web-apps-zero-dependency-png-jpeg-webp-glb-binary-parsers-procedural-pmrem-lighting-in-three-js/6b00f91ca3efd14f4f5c61ba"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Defensive Edge Engineering for 3D Web Apps: Zero-Dependency PNG/JPEG/WebP & GLB Binary Parsers + Procedural PMREM Lighting in Three.js](https://czmilo.hashnode.dev/defensive-edge-engineering-for-3d-web-apps-zero-dependency-png-jpeg-webp-glb-binary-parsers-procedural-pmrem-lighting-in-three-js?utm_source=hashnode&utm_medium=feed)

TL;DR: When you run an Image-to-3D SaaS on Cloudflare Workers, you cannot import sharp on the edge to validate uploads, you cannot run Three.js on the server to verify generated .glb files before char

Nov 21 · 7 min read · czmilo.hashnode.dev  
Read the article

## Written by

[Will Zhang](https://hashnode.com/@willczz)

@willczz · Hong Kong, China

  
[View profile](https://hashnode.com/@willczz)

Good artist copy, Great artist steal.

Buiding https://gardenletters.net/

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
