Title: GI refraction on Amd/Ati GPU Post by: Crist-JRoger on January 23, 2017, 07:57:41 PM Don't remember exactly said or not, so... houston we have a problem
Since i got AMD HD7850 all GI renders don't works properly with refraction. Now it looks like reflection :-X please help, i tried all (AnimatedModVinz_EiffieGi2.frag, eiffieGI.frag, Kisocahedron - EiffieGi2.frag, MagGlass.frag) (http://img07.deviantart.net/f93f/i/2017/023/0/2/2017_01_23_193834_by_c_jr-dawgo3q.jpg) (http://img09.deviantart.net/adbe/i/2017/023/1/3/2017_01_23_194432_by_c_jr-dawgo3y.jpg) Title: Re: GI refraction on Amd/Ati GPU Post by: 3dickulus on January 24, 2017, 02:40:07 AM I googled "AMD HD 7850 GLSL does not render correctly" and found some interesting stuff re:fixed pipeline
you might have to edit the #version line to... #version 420 compatibility ...and change all occurrences of varying to in/out the AMD 7000 series reportedly has some issues with legacy GLSL Title: Re: GI refraction on Amd/Ati GPU Post by: Crist-JRoger on January 24, 2017, 07:36:18 AM I googled "AMD HD 7850 GLSL does not render correctly" and found some interesting stuff re:fixed pipeline Thank you! I'll try when come back to home PC. Do you have complete list of issues? Or call version corrects all?you might have to edit the #version line to... #version 420 compatibility ...and change all occurrences of varying to in/out the AMD 7000 series reportedly has some issues with legacy GLSL Title: Re: GI refraction on Amd/Ati GPU Post by: Crist-JRoger on January 24, 2017, 06:13:43 PM Can't change all varying to in/out in 3D.frag
Code: Could not create vertex shader: Vertex shader failed to compile with the following errors: Title: Re: GI refraction on Amd/Ati GPU Post by: 3dickulus on January 25, 2017, 04:32:34 AM requires the word "compatibility" so the line looks like...
#version 420 compatibility ...this is supposed to help with running some legacy glsl code, I don't have a list of issues or AMD 7000 series card to test :( here is a tutorial about using in and out http://www.lighthouse3d.com/tutorials/glsl-tutorial/color-example/ EDIT: Varying variables provide an interface between Vertex and Fragment Shader. I think this is where the 7000 series has a problem, requiring 2 discrete variables to do the same thing. my nVidia card reports... Code: Fragment shader compiled with warnings: Fragment info but only warnings, no errors, it compiles and runs the shader with no visible difference. Title: Re: GI refraction on Amd/Ati GPU Post by: Crist-JRoger on January 25, 2017, 05:38:41 AM #version 420 compatibility Still nothing.. :-And no any warnings. GI code has no varyings. 3D.frag and BuferShader - yes. When i change varying in 3D.frag to out i got this: Code: Could not create vertex shader: Vertex shader failed to compile with the following errors: Title: Re: GI refraction on Amd/Ati GPU Post by: Crist-JRoger on August 23, 2017, 11:03:44 AM Long time no see :D Problem was in drivers. Solved with new Crimson. |