Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Source file extension changes (cc to cpp)
07-11-2007, 02:00 PM,
#9
 
joevenzon Wrote:I believe your card is more than sufficient do display the shaders. I'm not sure why they're failing to compile!

depthgen/vertex.glsl:
vec3 normal = (mat3(gl_TextureMatrix[1]) * gl_NormalMatrix) * gl_Normal;
ERROR: 0:11: 'constructor' : constructing matrix from matrix (reserved)

full/vertex.glsl:
normal = (mat3(gl_TextureMatrix[1]) * gl_NormalMatrix) * gl_Normal;
ERROR: 0:36: 'constructor' : constructing matrix from matrix (reserved)

etcetc, this error occurs in many vertex shaders...

shadowpass/fragment.glsl:
sampler2DShadow samp[4];
samp[0] = tu0_2D;
samp[1] = tu1_2D;
samp[2] = tu2_2D;
ERROR: 0:25: 'sampler2DShadow' : samplers must be uniform
ERROR: 0:26: 'assign' : l-value required "samp" (can't modify a sampler)
ERROR: 0:26: 'assign' : cannot convert from 'uniform sampler2DShadow' to 'sampler2DShadow'
ERROR: 0:27: 'assign' : l-value required "samp" (can't modify a sampler)
ERROR: 0:27: 'assign' : cannot convert from 'uniform sampler2DShadow' to 'sampler2DShadow'
ERROR: 0:28: 'assign' : l-value required "samp" (can't modify a sampler)
ERROR: 0:28: 'assign' : cannot convert from 'uniform sampler2DShadow' to 'sampler2DShadow'
Reply


Messages In This Thread
[No subject] - by abs1nth - 07-08-2007, 08:33 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-08-2007, 02:04 PM
[No subject] - by abs1nth - 07-09-2007, 02:27 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-09-2007, 11:21 PM
[No subject] - by thelusiv - 07-10-2007, 03:15 AM
[No subject] - by abs1nth - 07-10-2007, 03:00 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-10-2007, 09:02 PM
[No subject] - by abs1nth - 07-11-2007, 02:00 PM
[No subject] - by thelusiv - 07-11-2007, 02:14 PM
[No subject] - by abs1nth - 07-11-2007, 04:12 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-11-2007, 11:00 PM
[No subject] - by abs1nth - 07-12-2007, 08:04 AM
[No subject] - by joevenzon_phpbb2_import3 - 07-12-2007, 06:45 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-12-2007, 07:14 PM
[No subject] - by abs1nth - 07-16-2007, 04:58 PM
[No subject] - by joevenzon_phpbb2_import3 - 07-17-2007, 09:20 PM
[No subject] - by abs1nth - 08-14-2007, 06:39 PM
[No subject] - by joevenzon_phpbb2_import3 - 08-14-2007, 08:59 PM
[No subject] - by abs1nth - 08-15-2007, 07:08 AM
[No subject] - by joevenzon_phpbb2_import3 - 08-15-2007, 10:34 PM
[No subject] - by abs1nth - 09-13-2007, 05:36 PM
[No subject] - by joevenzon_phpbb2_import3 - 10-16-2007, 10:18 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-27-2007, 04:03 PM
[No subject] - by abs1nth - 12-28-2007, 04:54 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-28-2007, 11:29 PM
[No subject] - by abs1nth - 12-29-2007, 09:05 AM
[No subject] - by joevenzon_phpbb2_import3 - 12-29-2007, 03:31 PM
[No subject] - by abs1nth - 12-29-2007, 04:39 PM
[No subject] - by joevenzon_phpbb2_import3 - 12-30-2007, 02:22 PM
[No subject] - by abs1nth - 01-07-2008, 10:23 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)