Shader Errors

hatboyzero

19-02-2009 04:19:36

I am getting shader related errors when loading Caelum resources:

Parsing scripts for resource group Caelum
Parsing script DepthRender.program
Parsing script GroundFog.program
Compiler error: invalid parameters in GroundFog.program(30): setting of constant
failed
Compiler error: invalid parameters in GroundFog.program(63): setting of constant
failed
Parsing script Haze.program
Compiler error: invalid parameters in Haze.program(30): setting of constant fail
ed
Parsing script MinimalCompositorVP.program
Parsing script DepthComposer.material
Parsing script GroundFog.material
Parsing script LayeredClouds.material
Compiler error: invalid parameters in LayeredClouds.material(30): setting of con
stant failed
Parsing script moon.material
Parsing script PointStarfield.material
Parsing script Precipitation.material
Parsing script SkyDome.material
Compiler error: invalid parameters in SkyDome.material(58): setting of constant
failed
Parsing script Starfield.material
Parsing script Sun.material
Parsing script DepthComposer.compositor
Parsing script Precipitation.compositor
Finished parsing scripts for resource group Caelum


I'm fairly certain it's not my hardware capabilities -- I've got NVIDIA SLI Dual GeForce 8600M GTs on my machine here... Any ideas?

guru

19-02-2009 17:38:11

Don't worry, cdleonard sait its some shader workaround (can't find the thread right now). Things should work anyway. Or do you have any troubles in CalumLab?

hatboyzero

19-02-2009 21:58:43

Hmm, I don't recall CaelumLab generating the same shader compilation errors -- I'll double check this evening when I look at it again :P

Fish

19-02-2009 22:08:48

I get these errors also. I think it's cg related. Convert the cg shaders to GLSL and the errors go away. :wink:

cdleonard

20-02-2009 12:45:41

It could be this problem: url=http://www.ogre3d.org/addonforums/viewtopic.php?f=21&t=9232&p=53898#p53898

Please try again with latest Caelum trunk.