Implement textures on walls, windows don't look great yet
This commit is contained in:
@@ -40,10 +40,10 @@ mkAutoDoor pl pr xs = addSound $ zipWith3 (autoDoorPane [pl,pr])
|
||||
, [pru,prd]
|
||||
, [prd,prrd,pr,pr]
|
||||
]
|
||||
where norm = 15.1 *.* errorNormalizeV 49 ( vNormal (pr -.- pl))
|
||||
-- .1 hack, there was flickering
|
||||
where norm = 10 *.* errorNormalizeV 49 ( vNormal (pr -.- pl))
|
||||
hw = 0.5 *.* (pl +.+ pr)
|
||||
parallel = 20 *.* normalizeV (pl -.- pr)
|
||||
--parallel = 15 *.* normalizeV (pl -.- pr)
|
||||
parallel = 0.51 *.* (pl -.- pr)
|
||||
plu = pl +.+ norm
|
||||
pld = pl -.- norm
|
||||
pru = pr +.+ norm
|
||||
|
||||
Reference in New Issue
Block a user