Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
 
Share Thread:
Reddit Facebook Twitter
[fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
12-25-2015, 08:41 PM
Post: #3
RE: On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
I evaluate better the error and all the messages were caused by the first one. So it seems to be a compatibility issue.

ERROR: 0:188: Invalid call of undeclared identifier 'trunc'

I replaced the trunc function by floor that I used in the other shaders which you didn't have problems.
The trunc function was included only in GLSL 1.30 (OpenGL 3.0).

Here is the marble.vs file for replacement.

@MicheusVieira MicheusVieira Micheuss micheus4wings3d
* Wings3D Team stands for: Björn and Dan
Reply


Messages In This Thread
RE: On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work. - micheus - 12-25-2015 08:41 PM

Forum Jump:


User(s) browsing this thread: 1 Guest(s)