From 966d916d04c2cae78f3253ada38675f75d7301ed Mon Sep 17 00:00:00 2001 From: chai Date: Tue, 25 Dec 2018 08:30:33 +0800 Subject: =?UTF-8?q?*=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/graphics/shaders/je_jsl_compiler.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/libjin/graphics/shaders/je_jsl_compiler.cpp b/src/libjin/graphics/shaders/je_jsl_compiler.cpp index c5a004e..8904b96 100644 --- a/src/libjin/graphics/shaders/je_jsl_compiler.cpp +++ b/src/libjin/graphics/shaders/je_jsl_compiler.cpp @@ -17,21 +17,20 @@ namespace JinEngine { /// - /// Built-in variables in vertex shader: + /// Uniforms: /// jin_ProjectionMatrix --+ /// jin_ModelViewMatrix |- Uniforms /// jin_MainTexture | + /// jin_RenderTargetSize | /// jin_Time --+ + /// + /// Built-in variables in vertex shader: /// jin_VertexCoords --+ /// jin_TextureCoords |- Attributes /// jin_VertexColor --+ - /// jin_Color - GLSL built in + /// jin_Color ---- GLSL built in /// /// Built-in variables in fragment shader: - /// jin_ProjectionMatrix --+ - /// jin_ModelViewMatrix |- Uniforms - /// jin_MainTexture | - /// jin_Time --+ /// jin_Color --+ /// jin_XY |- Inputs /// jin_UV | -- cgit v1.1-26-g67d0