Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Add registerShader Texture Example
Provides users a quick example link/picture so they can find how to implement Textures using registerShader easier.
  • Loading branch information
mordof authored Feb 13, 2021
commit 2e998be507e66942b83cb634e2617b3dc761ab1f
4 changes: 4 additions & 0 deletions docs/components/material.md
Original file line number Diff line number Diff line change
Expand Up @@ -587,6 +587,10 @@ And using from HTML markup:

***

For an example with textures, [Remix this Texture Shader on Glitch](https://glitch.com/edit/#!/aframe-texture-shader)

![textureShaderPreview](https://user-images.githubusercontent.com/165293/107857210-2f673580-6dea-11eb-8c7a-ab115d9dd67a.gif)

For a more advanced example, [try Real-Time Vertex Displacement](https://glitch.com/edit/#!/aframe-displacement-registershader).

![b19320eb-802a-462a-afcd-3d0dd9480aee-861-000004c2a8504498](https://cloud.githubusercontent.com/assets/1848368/24825518/b52e5bf6-1bd4-11e7-8eb2-9a9c1ff82ce9.gif)
Expand Down