Skip to content

Add support for anisotropy, reflectance to metal rough material (Request in QGIS) #11039

@qgis-bot

Description

@qgis-bot

Request for documentation

From pull request qgis/QGIS#66254
Author: @nyalldawson
QGIS version: 4.2

Add support for anisotropy, reflectance to metal rough material

PR Description:

Description

Fixes missing scattering energy compensation for metallic materials, which caused rough metals to incorrectly darken. Adds additional parameters for the metal rough material to allow creation of a wider range of materials representing real-world objects.

See https://google.github.io/filament/images/material_chart.jpg for a visual representation on what these parameters actually mean.

Shader math was adapted from https://google.github.io/filament/Filament.md.html (And by inspecting the filament source)

AI tool usage

  • AI tool(s) (Copilot, Claude, or something similar) supported my development of this PR. See our policy about AI tool use. Use of AI tools must be indicated. Failure to be honest might result in banning.

Commits tagged with [need-docs] or [FEATURE]

Metadata

Metadata

Assignees

Labels

3D4.2QGIS 4.2 new features

Type

No type
No fields configured for issues without a type.

Projects

Status
In progress

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions