IES Light texture not working for Opencl GPU render #58953

Closed
opened 2018-12-07 17:18:55 +01:00 by gabe2252 · 18 comments

System Information
Operating system: Kubuntu 18.04
Graphics card: RX580 8GB

Blender Version
Broken: 2.80, d40bffa17f, blender2.8, 2018-12-06 23:57

Short description of error
IES Texture not working for point lamp when rendering with opencl GPU.

Exact steps for others to reproduce the error

  1. Open attached blender file. IES_Test.blend
  2. Render cpu only.
  3. Render GPU only, disable cpu+gpu (which results in some tiles rendering correctly and some not)
  4. Compare cpu only render and gpu render to see that the ies texture is not working.
**System Information** Operating system: Kubuntu 18.04 Graphics card: RX580 8GB **Blender Version** Broken: 2.80, d40bffa17f6, blender2.8, 2018-12-06 23:57 **Short description of error** IES Texture not working for point lamp when rendering with opencl GPU. **Exact steps for others to reproduce the error** 1. Open attached blender file. [IES_Test.blend](https://archive.blender.org/developer/F5872296/IES_Test.blend) 2. Render cpu only. 3. Render GPU only, disable cpu+gpu (which results in some tiles rendering correctly and some not) 4. Compare cpu only render and gpu render to see that the ies texture is not working.
Author

Added subscriber: @gabe2252

Added subscriber: @gabe2252
Member

Added subscriber: @LukasStockner

Added subscriber: @LukasStockner
Member

I think you forgot to attach the file?

I think you forgot to attach the file?
Author

Whoop, first time posting a bug, I think it's attached now.

Whoop, first time posting a bug, I think it's attached now.
Member

I can reproduce the problem, I'll have a look.

I can reproduce the problem, I'll have a look.

Added subscriber: @daneues

Added subscriber: @daneues

Hi there! Just curious if there has been any movement on this item.

Hi there! Just curious if there has been any movement on this item.
Member

Added subscriber: @Jeroen-Bakker

Added subscriber: @Jeroen-Bakker
Member

image.png

Interesting (This is CPU+GPU rendering). Will look into it.

![image.png](https://archive.blender.org/developer/F6736640/image.png) Interesting (This is CPU+GPU rendering). Will look into it.
Jeroen Bakker self-assigned this 2019-03-01 16:52:16 +01:00

Yes- it is an OpenCL specific issue it seems.

Yes- it is an OpenCL specific issue it seems.
Member

Seems to be that the issue is not inside the IES node, But that the (default texture normal coordinates are not correct on the OpenCL device

image.png

The grey tiles are rendered by the OpenCL GPU device, the Colors are tiles rendered by a CPU device.

When no the IES node is not connected, it loads the Normal which are incorrect.

Seems to be that the issue is not inside the IES node, But that the (default texture normal coordinates are not correct on the OpenCL device ![image.png](https://archive.blender.org/developer/F6764685/image.png) The grey tiles are rendered by the OpenCL GPU device, the Colors are tiles rendered by a CPU device. When no the IES node is not connected, it loads the Normal which are incorrect.

This issue was referenced by blender/cycles@d301fc5d03

This issue was referenced by blender/cycles@d301fc5d033d2732f3a5dcaad97aa460c93395a2

This issue was referenced by a325bc6bf3

This issue was referenced by a325bc6bf3e6dace5d1e15330650ea532052c9fc
Member

Changed status from 'Open' to: 'Resolved'

Changed status from 'Open' to: 'Resolved'
Author

@Jeroen-Bakker Thank you for fixing this bug! I really appreciate it.

@Jeroen-Bakker Thank you for fixing this bug! I really appreciate it.

I’m sorry... I’m still not understanding how to get this to work. I have the new version of 2.8, have connected the ies texture node to the color node and it still doesn’t work correctly. When I jump between CPU and GPU render the ies texture is clearly not mapping correctly.

Can someone upload a screengrab of the correct node structure inside the point light?

I’m sorry... I’m still not understanding how to get this to work. I have the new version of 2.8, have connected the ies texture node to the color node and it still doesn’t work correctly. When I jump between CPU and GPU render the ies texture is clearly not mapping correctly. Can someone upload a screengrab of the correct node structure inside the point light?

I’m sorry, please ignore my last comment... it appears I had the nodes setup incorrectly. I will respond again if I am seeing the same issues.

I’m sorry, please ignore my last comment... it appears I had the nodes setup incorrectly. I will respond again if I am seeing the same issues.

It totally works. Thank you so much!

It totally works. Thank you so much!
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
5 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#58953
No description provided.