Björn Ritzl 6 hónapja
szülő
commit
f90fe0d64d

+ 3 - 3
sprite/samplers/example.md

@@ -2,12 +2,12 @@
 tags: sprite
 title: Multiple Sprite Samplers
 brief: This example shows how to sample from more than one image when drawing a sprite
-scripts: multi_sprite.script, multi_sprite.fp
+scripts: multi_sample.script, multi_sample_prite.fp
 ---
 
 The example uses a sprite with a material with two samplers:
 
-![](example/multi_sprite_material.png)
+![](example/multi_sample_sprite_material.png)
 
 The samplers are assigned to two atlases, `one.atlas` and `two.atlas`:
 
@@ -21,4 +21,4 @@ Each atlas contains a Defold logo:
 
 Note the rename pattern in `two.atlas`. The rename pattern is required so that it is possible to sample from the same location in both atlases. 
 
-The color data from the two samplers is mixed/interpolated in the fragment program to produce a final color. The amount of interpolation is controlled in the `mix_amount` fragment constant. The `mix_amount` is animated between 0.0 and 1.0 in the `multi_sprite.script`
+The color data from the two samplers is mixed/interpolated in the fragment program to produce a final color. The amount of interpolation is controlled in the `mix_amount` fragment constant. The `mix_amount` is animated between 0.0 and 1.0 in the `multi_sample.script`

+ 0 - 0
sprite/samplers/example/multi_sprite.fp → sprite/samplers/example/multi_sample_sprite.fp


+ 0 - 0
sprite/samplers/example/multi_sprite.material → sprite/samplers/example/multi_sample_sprite.material


+ 0 - 0
sprite/samplers/example/multi_sprite_material.png → sprite/samplers/example/multi_sample_sprite_material.png