Urgent.News

What's breaking now, across thousands of outlets.

Tech

High Roughness, Sharp Highlights: Auditing a glTF Material in Three.js

An imported car-body model still showed sharp highlights on its hood and rear fender after switching to a preset labeled Matte . The overall reflection became weaker, but some bright patches remained. That observation prompted a material audit: what did the preset actually change, and what properties had arrived with the imported asset? Affiliation: This case comes from WrapPrism, a project I…

A BMW M4 G82 ADRO-kit car body study was imported into a Three.js environment and rendered using a preset labeled Matte. The rendered image showed sharp highlights on the hood and rear fender despite the overall reflection becoming weaker. This prompted an audit of the material preset to determine what changes it introduced and what properties were carried over from the original imported asset.

The two parameters that differed between the Gloss, Satin, and Matte presets were roughness and metalness. Roughness changed between Gloss and Satin, while Matte also changed metalness. Consequently, the comparison between these three presets did not isolate roughness as a single variable. The original values for these parameters were defined in the MeshStandardMaterial documentation, but their rationale was not established and no physical calibration was performed.

The original GLB file contained another reflective layer in the form of a clearcoat extension. This layer has its own intensity and roughness, and can make a rough base material appear smoother. When the clearcoat extension is present, the GLTFLoader maps the glTF factors to the clearcoat properties of MeshPhysicalMaterial. Changing the base roughness to 0.86, while keeping the clearcoat roughness at 0.04, can explain the remaining highlights observed in the rendered image.

Written by urgent.news from Dev.to's reporting — not their text. Machine-written — may contain errors; check the original before relying on it.

Read the original at dev.to →

More in Tech

How Browser-Based Reaction Time Tests Work

A reaction time test looks simple: wait for a color change, then click. Behind the result are a timer, browser rendering, input events, and measurement limits.

  • Browser-based reaction tests monitor color shift and button press.
  • JavaScript code initiates trials with random delay and captures timestamps.
  • Randomized delay prevents prediction of signal appearance.

Agent Access Without Shared Passwords: A Scoped Grant Pattern for Banks and Fintech

On October 22, Reuters and Axios reported that major US banks are restricting outside AI agents from customer accounts. As reported, customers share a username and password with an AI tool, the agent…

  • Agents gain distinct identity separate from customers
  • Customers issue scoped grants defining agent actions
  • Transaction approvals require separate customer app key

More from Tuesday 27 October →