Skip to content
This repository has been archived by the owner on Oct 28, 2021. It is now read-only.

Commit

Permalink
add dir light (#34)
Browse files Browse the repository at this point in the history
Signed-off-by: Ian Chen <[email protected]>
  • Loading branch information
iche033 authored Sep 29, 2021
1 parent 36fe0c5 commit e8e0430
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions Fortress demo/fortress.sdf
Original file line number Diff line number Diff line change
Expand Up @@ -216,6 +216,20 @@

</gui>

<light type="directional" name="sun">
<cast_shadows>false</cast_shadows>
<pose>0 0 10 0 0 0</pose>
<diffuse>0.8 0.8 0.8 1</diffuse>
<specular>0.2 0.2 0.2 1</specular>
<attenuation>
<range>1000</range>
<constant>0.9</constant>
<linear>0.01</linear>
<quadratic>0.001</quadratic>
</attenuation>
<direction>0.0 0.5 -0.9</direction>
</light>

<include>
<uri>
Fortress island
Expand Down

0 comments on commit e8e0430

Please sign in to comment.