提交 3fdecfa7 编写于 作者: 三月三net's avatar 三月三net

太阳系三体模拟器

上级 2396d5b7
......@@ -97,7 +97,8 @@ class UrsinaSimulator(Simulator):
lights = []
for i in range(1): # 可以增加多个光源
light = PointLight(parent=v, intensity=10, range=10, color=color.white)
light.brightness = 10
# light.brightness = 10
# light.attenuation = Vec3(1, 0.1, 0.01)
lights.append(light)
v.lights = v.lights + lights
pass
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册