diff options
author | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-10 19:04:30 +0000 |
---|---|---|
committer | Dan Goodliffe <dan@randomdan.homeip.net> | 2024-01-10 19:04:30 +0000 |
commit | b8401062e1d3f5e6554ab7fd9b983ea63cfb05c5 (patch) | |
tree | ba5c4f944cee1fa04b4aba8b018c3f1f7864490e /res | |
parent | Add spot light definition, loader, and rendering (diff) | |
download | ilt-b8401062e1d3f5e6554ab7fd9b983ea63cfb05c5.tar.bz2 ilt-b8401062e1d3f5e6554ab7fd9b983ea63cfb05c5.tar.xz ilt-b8401062e1d3f5e6554ab7fd9b983ea63cfb05c5.zip |
Initial commit with working light instancing
Diffstat (limited to 'res')
-rw-r--r-- | res/lights.xml | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/res/lights.xml b/res/lights.xml index 5c11fdf..536afd2 100644 --- a/res/lights.xml +++ b/res/lights.xml @@ -4,9 +4,9 @@ <bodyMesh id="body"> <use type="cylinder" scale="0.12,0.12,1" colour="lightslategray"/> <use type="cylinder" scale="0.07,0.07,3" position="0,0,1" colour="lightslategray"/> - <use type="cylinder" scale="0.05,0.05,1.5" position="0,0.1,4" rotation="1.5,0,0" colour="lightslategray"/> + <use type="cylinder" scale="0.05,0.05,1.5" position="0,-0.1,4" rotation="-1.5,0,0" colour="lightslategray"/> </bodyMesh> - <spotLight position="0,1.4,4.1" direction="0,0,-1" colour=".9,.9,.9" kq="8000" arc="1.5"/> + <spotLight position="0,1400,4100" direction="0,0,-1" colour=".9,.9,.9" kq="0.01" arc="1.5"/> </asset> <!-- yes I'm hacking some floor to light up as though its a bush --> <asset p.typeid="Foliage" id="floor" name="floor"> |