Add scissor test when creating lightmap
This commit is contained in:
@@ -129,6 +129,15 @@ applyResFactor rf = case rf of
|
||||
EighthRes -> (`div` 8)
|
||||
SixteenthRes -> (`div` 16)
|
||||
|
||||
applyResFactorF :: ResFactor -> Float -> Float
|
||||
applyResFactorF rf = case rf of
|
||||
DoubleRes -> (2*)
|
||||
FullRes -> id
|
||||
HalfRes -> (/ 2)
|
||||
QuarterRes -> (/ 4)
|
||||
EighthRes -> (/ 8)
|
||||
SixteenthRes -> (/ 16)
|
||||
|
||||
--resFactorNum :: ResFactor -> Int
|
||||
--resFactorNum rf = case rf of
|
||||
-- FullRes -> 1
|
||||
|
||||
Reference in New Issue
Block a user