Linear texture gradient range is not normalized #124142

Closed
opened 2024-07-04 10:43:05 +02:00 by Serge Lyatin · 3 comments

System Information
Operating system: win10
Graphics card: 1050ti

Blender Version
Broken: 4.2
Worked: 4.1.1

Probably caused by 9ab72eae38

Short description of error
Linear texture gradient range is not normalized, thus bound values are not 0 and 1. Example pic is 128px render, but even with decent resolution there is some bias.
In 2.79b lowest value is 0 and highest <1.

Exact steps for others to reproduce the error
Render attached file and inspect bottom and top pixels > values are not 0 and 1

**System Information** Operating system: win10 Graphics card: 1050ti **Blender Version** Broken: 4.2 Worked: 4.1.1 Probably caused by 9ab72eae3843be5071c66de5afb50490d9ceb20c **Short description of error** Linear texture gradient range is not normalized, thus bound values are not 0 and 1. Example pic is 128px render, but even with decent resolution there is some bias. In 2.79b lowest value is 0 and highest <1. **Exact steps for others to reproduce the error** Render attached file and inspect bottom and top pixels > values are not 0 and 1
Serge Lyatin added the
Type
Report
Severity
Normal
Status
Needs Triage
labels 2024-07-04 10:43:06 +02:00
Member

Can confirm, will check (seems 4.1.1 was still good)

Can confirm, will check (seems 4.1.1 was still good)
Philipp Oeser added
Status
Confirmed
and removed
Status
Needs Triage
labels 2024-07-04 11:28:49 +02:00
Member

Probably caused by 9ab72eae38

@OmarEmaraDev : would you consider this an intentional change? (will set to high prio for now)

Probably caused by 9ab72eae3843be5071c66de5afb50490d9ceb20c @OmarEmaraDev : would you consider this an intentional change? (will set to high prio for now)
Philipp Oeser added
Interest
Compositing
Module
VFX & Video
Severity
High
and removed
Severity
Normal
labels 2024-07-04 13:24:17 +02:00
Philipp Oeser added this to the 4.2 LTS milestone 2024-07-04 13:24:23 +02:00
Member

It is an intentional change. Basically, textures are now always evaluated at the center of pixels. Previously it was a buggy conditional. This works better for all textures except maybe gradient, because you now miss the zero and end points. But hopefully once we introduce procedural texture in the compositor, this should be more flexible.

It is an intentional change. Basically, textures are now always evaluated at the center of pixels. Previously it was a buggy conditional. This works better for all textures except maybe gradient, because you now miss the zero and end points. But hopefully once we introduce procedural texture in the compositor, this should be more flexible.
Blender Bot added
Status
Archived
and removed
Status
Confirmed
labels 2024-07-04 13:36:30 +02:00
Sign in to join this conversation.
No Label
Interest
Alembic
Interest
Animation & Rigging
Interest
Asset System
Interest
Audio
Interest
Automated Testing
Interest
Blender Asset Bundle
Interest
BlendFile
Interest
Code Documentation
Interest
Collada
Interest
Compatibility
Interest
Compositing
Interest
Core
Interest
Cycles
Interest
Dependency Graph
Interest
Development Management
Interest
EEVEE
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
Viewport & EEVEE
Interest
Virtual Reality
Interest
Vulkan
Interest
Wayland
Interest
Workbench
Interest: X11
Legacy
Asset Browser Project
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
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
Module
Viewport & EEVEE
Platform
FreeBSD
Platform
Linux
Platform
macOS
Platform
Windows
Severity
High
Severity
Low
Severity
Normal
Severity
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#124142
No description provided.