Verified Commit cd70bc21 authored by Flavien BRIDAULT-LOUCHEZ's avatar Flavien BRIDAULT-LOUCHEZ
Browse files

fix(viz): remove extra space in R2VB program preprocessor definitions

Sadly, this prevented the preprocessor defines of the R2VB geometry programs to be parsed properly, thus causing rendering issues.
parent b75b0f3e
......@@ -25,7 +25,7 @@ vertex_program R2VB/Ambient+VT_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, VERTEX_COLOR=1
preprocessor_defines R2VB=1,VERTEX_COLOR=1
}
//---------------------------------------------------------------------------
......@@ -34,7 +34,7 @@ vertex_program R2VB/Ambient+DfsTex_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, DIFFUSE_TEX=1
preprocessor_defines R2VB=1,DIFFUSE_TEX=1
}
//---------------------------------------------------------------------------
......@@ -43,7 +43,7 @@ vertex_program R2VB/Ambient+VT+DfsTex_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, VERTEX_COLOR=1,DIFFUSE_TEX=1
preprocessor_defines R2VB=1,VERTEX_COLOR=1,DIFFUSE_TEX=1
}
//---------------------------------------------------------------------------
......@@ -52,7 +52,7 @@ vertex_program R2VB/Flat_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, FLAT=1
preprocessor_defines R2VB=1,FLAT=1
}
//---------------------------------------------------------------------------
......@@ -61,7 +61,7 @@ vertex_program R2VB/Flat+VT_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, FLAT=1,VERTEX_COLOR=1
preprocessor_defines R2VB=1,FLAT=1,VERTEX_COLOR=1
}
//---------------------------------------------------------------------------
......@@ -70,7 +70,7 @@ vertex_program R2VB/Flat+DfsTex_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, FLAT=1,DIFFUSE_TEX=1
preprocessor_defines R2VB=1,FLAT=1,DIFFUSE_TEX=1
}
//---------------------------------------------------------------------------
......@@ -79,7 +79,7 @@ vertex_program R2VB/Flat+VT+DfsTex_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, FLAT=1,VERTEX_COLOR=1,DIFFUSE_TEX=1
preprocessor_defines R2VB=1,FLAT=1,VERTEX_COLOR=1,DIFFUSE_TEX=1
}
//---------------------------------------------------------------------------
......@@ -88,7 +88,7 @@ vertex_program R2VB/PixelLit_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, PHONG=1
preprocessor_defines R2VB=1,PHONG=1
}
//---------------------------------------------------------------------------
......@@ -97,7 +97,7 @@ vertex_program R2VB/PixelLit+VT_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, PHONG=1,VERTEX_COLOR=1
preprocessor_defines R2VB=1,PHONG=1,VERTEX_COLOR=1
}
//---------------------------------------------------------------------------
......@@ -106,7 +106,7 @@ vertex_program R2VB/PixelLit+DfsTex_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, PHONG=1,DIFFUSE_TEX=1
preprocessor_defines R2VB=1,PHONG=1,DIFFUSE_TEX=1
}
//---------------------------------------------------------------------------
......@@ -115,7 +115,7 @@ vertex_program R2VB/PixelLit+VT+DfsTex_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1, PHONG=1,VERTEX_COLOR=1,DIFFUSE_TEX=1
preprocessor_defines R2VB=1,PHONG=1,VERTEX_COLOR=1,DIFFUSE_TEX=1
}
//-----------------------------------------------------------------------------
......
......@@ -17,7 +17,7 @@ vertex_program R2VB/{{ shading }}_VP glsl
{
source RenderScene_VP.glsl
preprocessor_defines R2VB=1{% if defines %}, {{ defines }}{% endif %}
preprocessor_defines R2VB=1{% if defines %},{{ defines }}{% endif %}
}
{% endfor %}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment