mirror of
https://github.com/curioustorvald/Terrarum.git
synced 2026-06-10 18:44:05 +09:00
linear filter for clouds
This commit is contained in:
@@ -1,5 +1,6 @@
|
|||||||
package net.torvald.terrarum.weather
|
package net.torvald.terrarum.weather
|
||||||
|
|
||||||
|
import com.badlogic.gdx.graphics.Texture
|
||||||
import com.badlogic.gdx.math.Vector2
|
import com.badlogic.gdx.math.Vector2
|
||||||
import com.badlogic.gdx.math.Vector3
|
import com.badlogic.gdx.math.Vector3
|
||||||
import com.badlogic.gdx.utils.JsonValue
|
import com.badlogic.gdx.utils.JsonValue
|
||||||
@@ -50,6 +51,10 @@ data class CloudProps(
|
|||||||
val altLow: Float,
|
val altLow: Float,
|
||||||
val altHigh: Float,
|
val altHigh: Float,
|
||||||
) {
|
) {
|
||||||
|
init {
|
||||||
|
spriteSheet.texture.setFilter(Texture.TextureFilter.Linear, Texture.TextureFilter.Linear)
|
||||||
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @param rnd random number between -1 and +1
|
* @param rnd random number between -1 and +1
|
||||||
*/
|
*/
|
||||||
|
|||||||
Reference in New Issue
Block a user