diff options
| author | iwubcode <iwubcode@users.noreply.github.com> | 2023-12-19 19:21:15 -0600 |
|---|---|---|
| committer | iwubcode <iwubcode@users.noreply.github.com> | 2023-12-19 21:52:30 -0600 |
| commit | 3c00689bd6b9cf4046c094b04c44d0598a7e6e8f (patch) | |
| tree | cfa89b0c2af29a3cec23e48e68f5a31fc4c861bf /docs | |
| parent | fcfcf14e071635eeaddb2883dbeec97eef2ec200 (diff) | |
docs: update CustomPipeline graphics mod docs based on changes in syntax to support new functionality
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/CustomPipelineGraphicsMod.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/CustomPipelineGraphicsMod.md b/docs/CustomPipelineGraphicsMod.md index 42d6a1e9b7..373b0a93a8 100644 --- a/docs/CustomPipelineGraphicsMod.md +++ b/docs/CustomPipelineGraphicsMod.md @@ -191,12 +191,12 @@ vec4 custom_main( in CustomShaderData data ) ### Reading a texture -The following shader displays the contents of the texture denoted in the shader asset as `MY_TEX`: +The following shader displays the contents of the texture denoted in the shader asset as `MY_TEX` with the first texture coordinate data: ```glsl vec4 custom_main( in CustomShaderData data ) { - return texture(samp[MY_TEX_UNIT], MY_TEX_COORD); + return texture(samp_MY_TEX, TEX_COORD0); } ``` |
