Logo by HPDZ - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. April 25, 2024, 08:21:26 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1]   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: GI refraction on Amd/Ati GPU  (Read 3458 times)
0 Members and 1 Guest are viewing this topic.
Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« 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  lips are sealed please help, i tried all (AnimatedModVinz_EiffieGi2.frag, eiffieGI.frag, Kisocahedron - EiffieGi2.frag, MagGlass.frag)



Logged

3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #1 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
Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« Reply #2 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
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
Thank you! I'll try when come back to home PC. Do you have complete list of issues? Or call version corrects all?
Logged

Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« Reply #3 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:
ERROR: 1:20: error(#421) Keyword or operator "out" usage incorrect. GLSL version number 130 is required.
ERROR: error(#273) 1 compilation errors.  No code generated
when call #version 130 or another to 420 - nothing...  sad
Logged

3dickulus
Global Moderator
Fractal Senior
******
Posts: 1558



WWW
« Reply #4 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 sad

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
-------------
0(256) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(257) : warning C7555: 'varying' is deprecated, use 'in/out' instead
0(258) : warning C7555: 'varying' is deprecated, use 'in/out' instead
...

but only warnings, no errors, it compiles and runs the shader with no visible difference.
« Last Edit: January 26, 2017, 05:19:21 AM by 3dickulus, Reason: terminology » Logged

Resistance is fertile...
You will be illuminated!

                            #B^] https://en.wikibooks.org/wiki/Fractals/fragmentarium
Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« Reply #5 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:
ERROR: 1:20: error(#421) Keyword or operator "out" usage incorrect. GLSL version number 130 is required.
ERROR: error(#273) 1 compilation errors.  No code generated
Logged

Crist-JRoger
Fractal Fertilizer
*****
Posts: 389



WWW
« Reply #6 on: August 23, 2017, 11:03:44 AM »

Long time no see  cheesy
Problem was in drivers. Solved with new Crimson.
Logged

Pages: [1]   Go Down
  Print  
 
Jump to:  

Related Topics
Subject Started by Replies Views Last post
Translucency/Refraction in the "bulb" software Programming « 1 2 » David Makin 26 6679 Last post January 26, 2012, 10:57:12 AM
by ker2x
Refraction through a Crystal Fractal Science Kit Gallery wmauzey 0 876 Last post March 13, 2012, 09:31:31 AM
by wmauzey

Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.15 seconds with 25 queries. (Pretty URLs adds 0.008s, 2q)