Transparency rendering black when too far from world origin #84500

Closed
opened 2021-01-07 21:33:25 +01:00 by Bernhard Engstler · 3 comments

System Information
Operating system: Windows-10-10.0.19041-SP0 64 Bits
Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89

Blender Version
Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: 0f45cab862
Worked: I don't know, I tested with 2.83 latest LTS and it's the same problem

Short description of error
Transparent parts of objects (e.g. decals with alpha) which are in front of other objects start to render black when a certain distance away from the world origin.
This might be a corner case, but is a real issue for pre-made assets used in large scale environments.

Cube at 0, 0, 0

image.png

Cube at 600, 0, 0

image.png

Exact steps for others to reproduce the error
Open the attached blend file and render in cycles. Should render as expected. Move the cube to 600+ meters in X direction, the transparent part renders black. The camera and light is parented to the cube to make it as simple as possible to reproduce.
Interestingly, this does not happen to me when moving the cube only in Y or Z direction. However, other rendering artifacts appear when placing the cube at 5000 m in Z axis (perhaps a bit extreme).

The decal is about 0.001 m away from the cube, and the further it is away from the cube, the further away I can move the cube away from the world origin before this problem happens. I'm aware that camera clip start and end influences z-fighting, but I'm don't know what it has to do with the position relative to the world origin?

DecalTest.blend

**System Information** Operating system: Windows-10-10.0.19041-SP0 64 Bits Graphics card: GeForce GTX 1070/PCIe/SSE2 NVIDIA Corporation 4.5.0 NVIDIA 460.89 **Blender Version** Broken: version: 2.91.0, branch: master, commit date: 2020-11-25 08:34, hash: `0f45cab862` Worked: I don't know, I tested with 2.83 latest LTS and it's the same problem **Short description of error** Transparent parts of objects (e.g. decals with alpha) which are in front of other objects start to render black when a certain distance away from the world origin. This might be a corner case, but is a real issue for pre-made assets used in large scale environments. Cube at 0, 0, 0 ![image.png](https://archive.blender.org/developer/F9554697/image.png) Cube at 600, 0, 0 ![image.png](https://archive.blender.org/developer/F9554699/image.png) **Exact steps for others to reproduce the error** Open the attached blend file and render in cycles. Should render as expected. Move the cube to 600+ meters in X direction, the transparent part renders black. The camera and light is parented to the cube to make it as simple as possible to reproduce. Interestingly, this does not happen to me when moving the cube only in Y or Z direction. However, other rendering artifacts appear when placing the cube at 5000 m in Z axis (perhaps a bit extreme). The decal is about 0.001 m away from the cube, and the further it is away from the cube, the further away I can move the cube away from the world origin before this problem happens. I'm aware that camera clip start and end influences z-fighting, but I'm don't know what it has to do with the position relative to the world origin? [DecalTest.blend](https://archive.blender.org/developer/F9554702/DecalTest.blend)

Added subscriber: @B_Engstler

Added subscriber: @B_Engstler

Added subscriber: @constantin.kormann

Added subscriber: @constantin.kormann
Member

Closed as duplicate of #43835

Closed as duplicate of #43835
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset Browser
Interest
Asset Browser Project Overview
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
Interest
EEVEE & Viewport
Interest
Freestyle
Interest
Geometry Nodes
Interest
Grease Pencil
Interest
ID Management
Interest
Images & Movies
Interest
Import Export
Interest
Line Art
Interest
Masking
Interest
Metal
Interest
Modeling
Interest
Modifiers
Interest
Motion Tracking
Interest
Nodes & Physics
Interest
OpenGL
Interest
Overlay
Interest
Overrides
Interest
Performance
Interest
Physics
Interest
Pipeline, Assets & IO
Interest
Platforms, Builds & Tests
Interest
Python API
Interest
Render & Cycles
Interest
Render Pipeline
Interest
Sculpt, Paint & Texture
Interest
Text Editor
Interest
Translations
Interest
Triaging
Interest
Undo
Interest
USD
Interest
User Interface
Interest
UV Editing
Interest
VFX & Video
Interest
Video Sequencer
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Blender 2.8 Project
Legacy
Milestone 1: Basic, Local Asset Browser
Legacy
OpenGL Error
Meta
Good First Issue
Meta
Papercut
Meta
Retrospective
Meta
Security
Module
Animation & Rigging
Module
Core
Module
Development Management
Module
EEVEE & Viewport
Module
Grease Pencil
Module
Modeling
Module
Nodes & Physics
Module
Pipeline, Assets & IO
Module
Platforms, Builds & Tests
Module
Python API
Module
Render & Cycles
Module
Sculpt, Paint & Texture
Module
Triaging
Module
User Interface
Module
VFX & Video
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Priority
High
Priority
Low
Priority
Normal
Priority
Unbreak Now!
Status
Archived
Status
Confirmed
Status
Duplicate
Status
Needs Info from Developers
Status
Needs Information from User
Status
Needs Triage
Status
Resolved
Type
Bug
Type
Design
Type
Known Issue
Type
Patch
Type
Report
Type
To Do
No Milestone
No project
No Assignees
3 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: blender/blender#84500
No description provided.