Selaa lähdekoodia

Fix documentation about filtering settings (#396)

* fix filtering options

* review fixes
Alexey Gulev 1 vuosi sitten
vanhempi
commit
f7e5623927

+ 1 - 0
docs/en/manuals/material.md

@@ -213,6 +213,7 @@ Wrap U/W
 Filter Min/Mag
 : The filtering for magnification and minification. Nearest filtering requires less computation than linear interpolation, but can result in aliasing artifacts. Linear interpolation often provides smoother results:
 
+  - `Default` uses the default filter option specified in the `game.project` file under `Graphics`  as `Default Texture Min Filter` and `Default Texture Mag Filter` .
   - `FILTER_MODE_NEAREST` uses the texel with coordinates nearest the center of the pixel.
   - `FILTER_MODE_LINEAR` sets a weighted linear average of the 2x2 array of texels that lie nearest to the center of the pixel.
   - `FILTER_MODE_NEAREST_MIPMAP_NEAREST` chooses the nearest texel value within an individual mipmap.

+ 2 - 2
docs/en/manuals/project-settings.md

@@ -197,10 +197,10 @@ The maximum number of overlapping physics triggers. `16` by default.
 ### Graphics
 
 #### Default Texture Min Filter
-Specifies which filtering to use for minification filtering, `linear` (default) or `nearest`.
+Specifies which filtering to use for minification filtering, `linear` by default.
 
 #### Default Texture Mag Filter
-Specifies which filtering to use for magnification filtering, `linear` (default) or `nearest`.
+Specifies which filtering to use for magnification filtering, `linear` by default.
 
 #### Max Draw Calls
 The max number of render calls, `1024` by default.

+ 1 - 1
docs/en/manuals/texture-filtering.md

@@ -21,7 +21,7 @@ default_texture_min_filter
 default_texture_mag_filter
 : Magnifying filtering applies whenever the texel is larger than the screen pixel.
 
-Both settings accept the values `linear` or `nearest`. For example:
+Both settings accept the values `linear`, `nearest`, `nearest_mipmap_nearest`, `nearest_mipmap_linear`, `linear_mipmap_nearest` or `linear_mipmap_linear`. For example:
 
 ```ini
 [graphics]

+ 1 - 1
docs/ko/manuals/2dgraphics.md

@@ -204,7 +204,7 @@ Defold는 텍스쳐 샘플링을 위해 두가지 방식을 지원하고 있습
 #### default_texture_mag_filter
 확대 필터링(Magnifying filtering)은 텍셀이 화면 픽셀보다 클 때 적용됩니다.
 
-두 설정값 모두 linear나 nearest 값으로 설정할 수 있습니다. 예를 들어:
+두 설정값 모두 `linear`, `nearest`, `nearest_mipmap_nearest`, `nearest_mipmap_linear`, `linear_mipmap_nearest`나 `linear_mipmap_linear` 값으로 설정할 수 있습니다. 예를 들어:
 
 ```
 [graphics]

+ 2 - 2
docs/ko/manuals/project-settings.md

@@ -116,9 +116,9 @@ triad나 normal과 같은 물리에서의 단위 오브젝트를 얼마나 크
 
 ## Graphics
 #### default_texture_min_filter
-최소화 필터링(min filtering)에 사용할 필터링 종류, linear(기본값) 또는 nearest
+최소화 필터링(min filtering)에 사용할 필터링 종류, linear(기본값)
 #### default_texture_mag_filter
-최대화 필터링(mag filtering)에 사용할 필터링 종류, linear(기본값) 또는 nearest
+최대화 필터링(mag filtering)에 사용할 필터링 종류, linear(기본값)
 #### max_debug_vertices
 디버그용 버텍스(vertices)의 최대 개수. 물리 모형(physics shape)을 렌더링 하는데 사용됨, 기본값 10000
 #### texture_profiles

+ 1 - 1
docs/pl/manuals/texture-filtering.md

@@ -21,7 +21,7 @@ default_texture_min_filter
 default_texture_mag_filter
 : Filtrowanie przy powiększaniu jest stosowane, gdy texel jest większy niż piksel na ekranie.	
 
-Oba ustawienia mogą przyjmować wartości `linear` lub `nearest`. Na przykład:
+Oba ustawienia mogą przyjmować wartości `linear`, `nearest`, `nearest_mipmap_nearest`, `nearest_mipmap_linear`, `linear_mipmap_nearest` lub `linear_mipmap_linear` . Na przykład:
 
 ```ini
 [graphics]

+ 2 - 2
docs/ru/manuals/project-settings.md

@@ -166,10 +166,10 @@ Clear color alpha channel, используется рендер скрипто
 ## Graphics
 
 #### Default Texture Min Filter
-Указывает, какую фильтрацию использовать при уменьшающей фильтрации, `linear` (по умолчанию) или `nearest`.
+Указывает, какую фильтрацию использовать при уменьшающей фильтрации, `linear` по умолчанию`.
 
 #### Default Texture Mag Filter
-Указывает, какую фильтрацию использовать при увеличивающей фильтрации, `linear` (по умолчанию) или `nearest`.
+Указывает, какую фильтрацию использовать при увеличивающей фильтрации, `linear` по умолчанию.
 
 #### Max Draw Calls
 Максимальное количество вызовов рендеринга, по умолчанию `1024`.

+ 1 - 1
docs/ru/manuals/texture-filtering.md

@@ -21,7 +21,7 @@ default_texture_min_filter
 default_texture_mag_filter
 : Увеличивающая фильтрация применяется всякий раз, когда тексель больше пикселя экрана.
 
-Оба параметра принимают значения `linear` или `nearest`. Например:
+Оба параметра принимают значения `linear`, `nearest`, `nearest_mipmap_nearest`, `nearest_mipmap_linear`, `linear_mipmap_nearest` или `linear_mipmap_linear`. Например:
 
 ```ini
 [graphics]

+ 2 - 2
docs/zh/manuals/project-settings.md

@@ -197,10 +197,10 @@ debug线的不透明度, `0`--`1`. 默认是 `0.9`.
 ### Graphics
 
 #### Default Texture Min Filter
-设置缩小过滤方式, `linear` (默认) 或者 `nearest`.
+设置缩小过滤方式, `linear` (默认).
 
 #### Default Texture Mag Filter
-设置放大过滤方式, `linear` (默认) 或者 `nearest`.
+设置放大过滤方式, `linear` (默认).
 
 #### Max Draw Calls
 渲染请求最大数目, 默认是 `1024`.

+ 1 - 1
docs/zh/manuals/texture-filtering.md

@@ -21,7 +21,7 @@ default_texture_min_filter
 default_texture_mag_filter
 : 当图素大于屏幕像素大小, 要放大时使用的过滤效果.
 
-这两项取值都是 `linear` 或者 `nearest`. 比如:
+这两项取值都是 `linear`, `nearest`, `nearest_mipmap_nearest`, `nearest_mipmap_linear`, `linear_mipmap_nearest` 或者 `linear_mipmap_linear`. 比如:
 
 ```ini
 [graphics]