Announcement

Collapse
No announcement yet.

color_tex vs rect_tex on LightRectangle

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

  • color_tex vs rect_tex on LightRectangle

    Hi all,
    I'm finding some strange (to me) behavior between using the color_tex and rect_tex parameters on a LightRectangle. It also applies to LightDome and others.

    I've attached a pair of files showing the difference and a couple images corresponding to the scenes. When I plug a checkerboard texture into the color_tex of a light, it seems to emit the texture onto all objects as though they receive planar mapping, regardless of distance to the light or other changes.

    When I put the same checkerboard texture into the rect_tex (and activate the use_rect_tex) it gives the result I'd expect - a mixed emission between the two checkerboard colors.

    I'm curious to know what the proper use of the _tex (like intensity_tex vs. intensity) parameters are and when I should use them. From the examples it looks like it's only used in the 06-ambient light example so I'm not sure if I should be using it elsewhere too.

    thanks!
    Attached Files

  • #2
    Please, check the info here if it could be useful for you:
    https://docs.chaosgroup.com/display/...-+Sphere+Light

    Comment

    Working...
    X