Skip to content

Commit

Permalink
Distant: fix L parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
howetuft committed Nov 5, 2023
1 parent ca2c73a commit 6ad26b6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Render/renderers/Pbrt.py
Original file line number Diff line number Diff line change
Expand Up @@ -228,7 +228,7 @@ def write_distantlight(name, color, power, direction, angle, **kwargs):
snippet = """# Distant light '{n}'
AttributeBegin
LightSource "distant"
"rgb I" [{c[0]} {c[1]} {c[2]}]
"rgb L" [{c[0]} {c[1]} {c[2]}]
"float scale" {s}
"point3 from" [0 0 0]
"point3 to" [{d.x} {d.y} {d.z}]
Expand Down

0 comments on commit 6ad26b6

Please sign in to comment.