Working dynamic shadows using shape vertices buffer
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
{-# LANGUAGE TupleSections #-}
|
||||
--{-# LANGUAGE TupleSections #-}
|
||||
{- |
|
||||
Drawing of creatures.
|
||||
Takes into account damage etc. -}
|
||||
@@ -55,6 +55,7 @@ basicCrShape col cr = tr $ mconcat
|
||||
, translateSHz 25 . dm . rotdir $ scalp cr
|
||||
, dm . rotmdir $ feet cr
|
||||
, dm . rotdir $ upperBody col cr
|
||||
, rotdir $ _spShape $ drawEquipment cr
|
||||
]
|
||||
where
|
||||
dm = damageModSH cr
|
||||
|
||||
Reference in New Issue
Block a user