From 3c00689bd6b9cf4046c094b04c44d0598a7e6e8f Mon Sep 17 00:00:00 2001 From: iwubcode Date: Tue, 19 Dec 2023 19:21:15 -0600 Subject: [PATCH] docs: update CustomPipeline graphics mod docs based on changes in syntax to support new functionality --- docs/CustomPipelineGraphicsMod.md | 4 ++-- 1 file 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); } ```