Author Topic: Is my shader too complex? (IPR PROBLEM)  (Read 3269 times)

2020-11-15, 02:04:45

jankarl

  • Active Users
  • **
  • Posts: 9
    • View Profile
I think it's day two or three with this engine not entirely sure, been having fun with procedural textures cause guess what? IT SUPPORTS NATIVE SHADERS!! (YAY), except there's a bug. When making changes with the specific texture, displacement isn't taken into account by the IPR (same goes for VFB rendering), it's pretty consistent, it only works on the texture your working on, if you made a change with another texture the bug doesn't work. I also made a python script to refresh the rendering cause it's really consistent

Here's a video showcasing the bug.

Here's the scene file.
https://drive.google.com/file/d/1iJFi7lfdCrUl4P-F-Zq0T4vJsr-JLDLY/view?usp=sharing

Here's the script (if you want it).
https://drive.google.com/drive/folders/1y83Zfn4QaUH3ln_GEsMDxrkxF0PoyToM?usp=sharing


P.S. I was changing the GI solver because cleaning up was taking awhile (probably because of the screen recorder). Also speed up the video it took longer than I expected it to be.

2020-11-15, 16:10:53
Reply #1

Cinemike

  • Active Users
  • **
  • Posts: 1001
    • View Profile
Displacement never gets updated when using the IR. It's by design.

I got the advice to use C4D's Interactive Render Region for setting up displacement (in materials) which is not as convenient as the IR but works.

CU
Michael

2020-11-16, 01:19:25
Reply #2

jankarl

  • Active Users
  • **
  • Posts: 9
    • View Profile
By design? What was it meant to do in the first place if it was by design?

2020-11-16, 05:29:16
Reply #3

Cinemike

  • Active Users
  • **
  • Posts: 1001
    • View Profile
It renders displacement the first time it gets started, later changes in displacement won't be updated. It's for performance reasons.

2020-11-23, 08:11:12
Reply #4

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1251
    • View Profile
    • My personal website
Displacement never gets updated when using the IR. It's by design.

I got the advice to use C4D's Interactive Render Region for setting up displacement (in materials) which is not as convenient as the IR but works.

CU
Michael

Is it really by design though? If I recall correctly 3ds Max behaves more in line of what you'd expect - I could be wrong but I think it recalcs the displacement upon any changes to the material or camera angle. This could be a good discourse here.
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2020-11-23, 10:07:37
Reply #5

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8834
  • Let's move this topic, shall we?
    • View Profile
    • My Models
In 3ds Max displacement does not get updated on camera movement, nor on changes to the material (except for changes in displacement settings). It is by design.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2020-11-23, 13:40:08
Reply #6

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1251
    • View Profile
    • My personal website
In 3ds Max displacement does not get updated on camera movement, nor on changes to the material (except for changes in displacement settings). It is by design.

Huh, then I'm plain wrong here :) Just out of curiosity, is that how it's always been? I think I remember it refreshing when changing the displacement strength (min/max) at least. Could be wrong though!
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us

2020-11-23, 15:40:20
Reply #7

romullus

  • Global Moderator
  • Active Users
  • ****
  • Posts: 8834
  • Let's move this topic, shall we?
    • View Profile
    • My Models
Yes, as i mentioned in my previous message, changing any displacement settings will update displacement in the VFB.
I'm not Corona Team member. Everything i say, is my personal opinion only.
My Models | My Videos | My Pictures

2020-11-24, 17:07:30
Reply #8

Nejc Kilar

  • Corona Team
  • Active Users
  • ****
  • Posts: 1251
    • View Profile
    • My personal website
Yes, as i mentioned in my previous message, changing any displacement settings will update displacement in the VFB.

Well then, I need to apologize for not reading your post correctly :D Not staying up late again!
Nejc Kilar | chaos-corona.com
Educational Content Creator | contact us