Procházet zdrojové kódy

samples: core: avoid pixelation when rendering scaled text

Daniele Bartolini před 2 roky
rodič
revize
9a7c4ca30c
2 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. 1 0
      docs/changelog.rst
  2. 1 1
      samples/core/shaders/default.shader

+ 1 - 0
docs/changelog.rst

@@ -11,6 +11,7 @@ Changelog
 **Runtime**
 
 * Fixed a crash when rendering text with a font missing some of the glyphs.
+* Fixed pixelation when rendering scaled text.
 
 **Tools**
 

+ 1 - 1
samples/core/shaders/default.shader

@@ -131,7 +131,7 @@ bgfx_shaders = {
 		includes = "common"
 
 		samplers = {
-			u_albedo = { sampler_state = "clamp_point" }
+			u_albedo = { sampler_state = "clamp_anisotropic" }
 		}
 
 		varying = """