Shaders are faulty!

Having technical difficulties with Supermodel? Last-minute wardrobe malfunction? Get help here.
Forum rules
Keep it classy!

  • No ROM requests or links.
  • Do not ask to be a play tester.
  • Do not ask about release dates.
  • No drama!

Shaders are faulty!

Postby FrankT » Sat Nov 12, 2011 7:24 am

I think my video card is too old even for Supermodel.. I've even put in the Fragment Shader fix, but it did no good! Here's the report:

Supermodel v0.2a Error Log
--------------------------

Started as:
argv[0] = supermodel
argv[1] = swtrilgy.zip
argv[2] = -frag-shader=Fragment_NoSpotlight.glsl

OpenGL information:
Vendor: ATI Technologies Inc.
Renderer: ATI Radeon X300/X550/X1050 Series
Version: 2.1.8545 Release
Shading Language Version: 1.20
Maximum Vertex Array Size: 2147483647 vertices
Maximum Texture Size: 2048 texels
Maximum Vertex Attributes: 16
Maximum Vertex Uniforms: 512

Program settings:
XResolution = 496
YResolution = 384
FullScreen = 0
Throttle = 1
ShowFrameRate = 0
InputSystem = dinput
FlipStereo = 0
DirectInputConstForceMax = 100
DirectInputSelfCenterMax = 100
DirectInputFrictionMax = 100
DirectInputVibrateMax = 100
XInputConstForceThreshold = 35
XInputConstForceMax = 100
XInputVibrateMax = 100
MultiThreaded = 1
PowerPCFrequency = 50
EmulateSound = 1
EmulateDSB = 1
SoundVolume = 100
MusicVolume = 100
ForceFeedback = 0
VertexShader =
FragmentShader = Fragment_NoSpotlight.glsl

Audio device information:
Frequency: 44100
Channels: 2
Sample Format: 32784

Static vertex buffer size: 61.42 MB
Dynamic vertex buffer size: 5.62 MB
Failed to link shader objects. Your OpenGL driver said:
Fragment shader(s) failed to link, vertex shader(s) linked.


Program terminated due to an error.

Any ideas?
FrankT
 
Posts: 2
Joined: Sat Nov 12, 2011 7:22 am

Re: Shaders are faulty!

Postby Bart » Sat Nov 12, 2011 12:28 pm

The fragment shader is too big for some of the older ATI GPUs, despite their OpenGL 2.1/GLSL 1.2 support. You can try making the modification to Fragment_NoSpotlight.glsl discussed here and see if it helps any. You can also download the source code and extract Src/Graphics/Shaders/Fragment_Flat.glsl and try that (but you'll have no texture mapping).
User avatar
Bart
Site Admin
 
Posts: 3086
Joined: Thu Sep 01, 2011 2:13 pm
Location: Reno, Nevada

Re: Shaders are faulty!

Postby FrankT » Sat Nov 12, 2011 3:08 pm

Thanks! It works now - albeit very sloowwwlyyy. Some parts are fine but the cutscenes are very choppy and the trench scene is in slow motion. I'll go see how I can improve performance.
FrankT
 
Posts: 2
Joined: Sat Nov 12, 2011 7:22 am


Return to The Fitting Room

Who is online

Users browsing this forum: No registered users and 1 guest

cron