Skip to content

tangrams/texture-demos

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

54 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

tangram-textures

Experiments with textures in shaders with Tangram.

Demos:

Cross-fading between tiled texture zooms to maintain texture density
http://tangrams.github.io/texture-demos/?url=scenes/texture-tiles.yaml

A non-crossfading texture, to illustrate the problem
http://tangrams.github.io/texture-demos/problem-case

A global shader texture, to illustrate a related problem
http://tangrams.github.io/texture-demos/?url=scenes/global-splatter.yaml

Cross-fading between untiled shader texture zooms to maintain texture density
http://tangrams.github.io/texture-demos/?url=scenes/global-splatter-fade.yaml

Smoothstepping across shader texture zooms to maintain texture density
http://tangrams.github.io/texture-demos/?url=scenes/global-splatter-smoothstep.yaml

Cross-fading between a pixelated shader texture to maintain texture density
http://tangrams.github.io/texture-demos/?url=scenes/global-splatter-pixels.yaml

visualization of uv texture coordinates on line segments
http://tangrams.github.io/texture-demos/?url=scenes/uv-coords-lines.yaml

applying a stripes texture to line segments
http://tangrams.github.io/texture-demos/?url=scenes/uv-lines.yaml

applying a stippled fade texture to line segments
http://tangrams.github.io/texture-demos/?url=scenes/stipple-lines.yaml

Some texture tiles from: http://finalbossblues.com/tiling-tiles/

About

experiments with tiled textures inside shaders

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published