Author Topic: DR environment BUG  (Read 276 times)

2025-07-24, 18:16:58

394452216@qq.com

  • Active Users
  • **
  • Posts: 8
  • i love render
    • View Profile
When the override environment is left empty, distributed rendering may encounter issues.
A: dr off
B: dr on

2025-07-24, 18:34:02
Reply #1

394452216@qq.com

  • Active Users
  • **
  • Posts: 8
  • i love render
    • View Profile

I'll handle it simply for now.


    fn fix_env_map_dr  = (
        cr = renderers.current

        has_map = false

        if cr.bg_overrideDirect and cr.bg_texmapUseDirect and cr.bg_texmapDirect != undefined do(
            has_map = true
        )

        if cr.bg_overrideReflect and cr.bg_texmapUseReflect and cr.bg_texmapReflect != undefined do(
            has_map = true
        )

        if cr.bg_overrideRefract and cr.bg_texmapUseRefract and cr.bg_texmapRefract != undefined do(
            has_map = true
        )

        if not has_map do(
            return false
        )

        if cr.bg_overrideDirect and cr.bg_texmapDirect == undefined do(
            cr.bg_overrideDirect = false
        )

        if cr.bg_overrideReflect and cr.bg_texmapReflect == undefined do(
            cr.bg_overrideReflect = false
        )

        if cr.bg_overrideRefract and cr.bg_texmapRefract == undefined do(
            cr.bg_overrideRefract = false
        )

    )

2025-07-28, 15:12:49
Reply #2

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13777
  • Marcin
    • View Profile
This looks like a bug, we will try to reproduce it.

Meanwhile, could you please update to Corona 13 and see if the issue is still there? https://my.chaos.com/download/build?product=Corona
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us

2025-07-30, 16:48:55
Reply #3

maru

  • Corona Team
  • Active Users
  • ****
  • Posts: 13777
  • Marcin
    • View Profile
I couldn't reproduce it in a simple DR test. Could you please contact us here and attach a scene archived with assets? (File > Archive)
https://support.chaos.com/hc/en-us/requests/new

Thanks in advance!
Marcin Miodek | chaos-corona.com
3D Support Team Lead - Corona | contact us