Author Topic: Interactive Renderer - Shading error when multiplying images with a color  (Read 2012 times)

2022-11-11, 12:11:43

FS-Marc

  • Active Users
  • **
  • Posts: 15
    • View Profile
Hi,

Ive found that the materials (their reflection mostly) in the IPR turn yellow when lights are moved. This seems to be a bug when multiplying the Texture of the background with a color.

The workaround would be to use a Corona color mix - which works but thats just one more uneccessery step.

2022-11-11, 14:23:53
Reply #1

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3881
  • Bengamin
    • View Profile
    • Cormats
Hi there, if you refresh the IR, is it then okay again? Can you please share a sample scene (if possible) or a video of this happening?
Bengamin Jerrems:
Portfolio l Click me!

2022-11-11, 16:40:22
Reply #2

John_Do

  • Active Users
  • **
  • Posts: 182
    • View Profile
Hey, I just want to add that I already had this issue too, not with moving lights but with Rayswitch and Tonemap shaders, they break really fast in IR.

By the way the IR seems to have regressed with v9, I often have to stop and restart it because the framebuffer goes full black sometimes, randomly. Fortunately not at a point where it would unusable but it didn't happen with v8.

2022-11-15, 08:30:30
Reply #3

Beanzvision

  • Former Corona Team Member
  • Active Users
  • **
  • Posts: 3881
  • Bengamin
    • View Profile
    • Cormats
Hi,

Ive found that the materials (their reflection mostly) in the IPR turn yellow when lights are moved. This seems to be a bug when multiplying the Texture of the background with a color.

The workaround would be to use a Corona color mix - which works but thats just one more uneccessery step.

Hi there, are you able to share an example scene with us? I tried to recreate it but failed. Thanks!
Bengamin Jerrems:
Portfolio l Click me!

2022-11-15, 11:37:51
Reply #4

FS-Marc

  • Active Users
  • **
  • Posts: 15
    • View Profile
Restarting the IPR (Stop - Start) "fixes" the issue. But as soon as you change anything while the IPR is running the error occurs again (Like moving around the object).

Most basic setup would be the following:

Having one object with a mirror-like texture.
Corona Sky set to Shader/HDRI with a random shader.
Plane with Shadowcatcher material set to Environment with the sky loaded in.
Scene Environment Direct visibility override turned on with a !!Material loaded that has an image loaded in the texture slot in the Base Layer with the mix mode set to Multiply and some not defaulted setting to the Color that is multiplied with.

Sorry but I cant make a screen capture at the moment scine my remote setup blocks the capture. If the instruction didnt help I will send you a video as soon as possible.