mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-15 13:04:05 +09:00
simpler light tone mapping
This commit is contained in:
@@ -9,7 +9,7 @@ import net.torvald.unsafe.UnsafeHelper
|
||||
*
|
||||
* Created by Torvald on 2019-12-05.
|
||||
*/
|
||||
internal object LightmapHDRMap : Disposable {
|
||||
/*internal object LightmapHDRMap : Disposable {
|
||||
/*private val THE_LUT = floatArrayOf( // polynomial of 6.0 please refer to work_files/HDRcurveBezierLinIntp.kts
|
||||
0.0000f,0.0004f,0.0020f,0.0060f,0.0100f,0.0139f,0.0179f,0.0219f,0.0259f,0.0299f,0.0338f,0.0378f,0.0418f,0.0458f,0.0497f,0.0537f,
|
||||
0.0577f,0.0617f,0.0656f,0.0696f,0.0736f,0.0776f,0.0816f,0.0855f,0.0895f,0.0935f,0.0975f,0.1014f,0.1054f,0.1094f,0.1134f,0.1173f,
|
||||
@@ -94,4 +94,4 @@ internal object LightmapHDRMap : Disposable {
|
||||
override fun dispose() {
|
||||
ptr.destroy()
|
||||
}
|
||||
}
|
||||
}*/
|
||||
Reference in New Issue
Block a user