Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Shaders
09-01-2011, 02:43 PM,
#1
Shaders
In order to get shaders working on my system, I have had to change fragment.glsl in lightaccumulate and logluminance. The log from before this is here: http://pastebin.com/bug8Fa8f
These are the changes I made:
Line 128 lightaccumulate: vec3 ref_sharpish = textureCube(tu4_cube, refmapdir, reflection_lod).rgb;
Line 24 logluminance: gl_FragColor.rgb = vec3(1.,1.,1.)*texture2D(tu0_2D, tu0coord, lod).r;
This got shaders working, but still with errors: http://pastebin.com/F2HcyxBM
I was wondering if this is just my computer (the intel graphics maybe) and so I should revert the changes before releasing as it will break stuff for others, or if it's alright to check the changes into SVN.
Reply


Messages In This Thread
Shaders - by Timo 6 - 09-01-2011, 02:43 PM
[No subject] - by NaN - 09-01-2011, 03:00 PM
[No subject] - by Timo 6 - 09-01-2011, 03:28 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-02-2011, 10:42 AM
[No subject] - by Timo 6 - 09-02-2011, 01:17 PM
[No subject] - by joevenzon_phpbb2_import3 - 09-03-2011, 12:28 PM
[No subject] - by Timo 6 - 09-03-2011, 03:08 PM

Forum Jump:


Users browsing this thread: 1 Guest(s)