Skip to content

Commit 9dab7c0

Browse files
authored
Add registerShader Texture Example (#4795)
Provides users a quick example link/picture so they can find how to implement Textures using registerShader easier.
1 parent bcdcfea commit 9dab7c0

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

docs/components/material.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -587,6 +587,10 @@ And using from HTML markup:
587587
588588
***
589589
590+
For an example with textures, [Remix this Texture Shader on Glitch](https://glitch.com/edit/#!/aframe-texture-shader)
591+
592+
![textureShaderPreview](https://user-images.githubusercontent.com/165293/107857210-2f673580-6dea-11eb-8c7a-ab115d9dd67a.gif)
593+
590594
For a more advanced example, [try Real-Time Vertex Displacement](https://glitch.com/edit/#!/aframe-displacement-registershader).
591595
592596
![b19320eb-802a-462a-afcd-3d0dd9480aee-861-000004c2a8504498](https://cloud.githubusercontent.com/assets/1848368/24825518/b52e5bf6-1bd4-11e7-8eb2-9a9c1ff82ce9.gif)

0 commit comments

Comments
 (0)