opengl.demo: Add texture tiling for polygons.
This commit is contained in:
@@ -254,6 +254,7 @@ is
|
|||||||
:= Model.polygon.lit_textured.new_Polygon (vertex_Sites => [Origin_2D, [1.0, 0.0], [1.0, 1.0], [-1.0, 0.5]],
|
:= Model.polygon.lit_textured.new_Polygon (vertex_Sites => [Origin_2D, [1.0, 0.0], [1.0, 1.0], [-1.0, 0.5]],
|
||||||
Face => (Fades => (1 => 0.0, others => <>),
|
Face => (Fades => (1 => 0.0, others => <>),
|
||||||
Textures => (1 => the_Texture, others => <>),
|
Textures => (1 => the_Texture, others => <>),
|
||||||
|
texture_Tiling => <>,
|
||||||
texture_Count => 1));
|
texture_Count => 1));
|
||||||
|
|
||||||
the_text_Model : constant Model.Text.lit_colored.view
|
the_text_Model : constant Model.Text.lit_colored.view
|
||||||
|
|||||||
Reference in New Issue
Block a user