Announcement

Collapse
No announcement yet.

VRaySceneModifierInterface & lights

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • VRaySceneModifierInterface & lights

    hi!

    I have a VRayPlugin with a VRaySceneModifierInterface that i use to add other plugins in a scene (at preFrameBegin).
    Everything works fine for meshes, point clouds, instancers... however, when i try to add a light (LightRectangle for example), i can see the shape of the light (the rectangle), but the light isn't lighting the scene... am i doing something wrong?

    thanks in advance!
    Chervin SHAFAGHI
    CG Supervisor at CGEV, Paris.

  • #2
    You will need to add the lights in preRenderBegin(), before the direct light manager has cached them.

    Best regards,
    Vlado
    I only act like I know everything, Rogers.

    Comment


    • #3
      ok thanks i'll try that!
      Chervin SHAFAGHI
      CG Supervisor at CGEV, Paris.

      Comment

      Working...
      X