|
[fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
|
|
12-25-2015, 10:02 AM
(This post was last modified: 12-25-2015 08:41 PM by micheus.)
Post: #1
|
|||
|
|||
|
[fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
I tried the newly added shader this time.
On OSX,Wings3d 2.0.2, AutoUV Create Texture Marble Shader doesn't work. Both of custom color and a default color will not be drawn. Here is Wings3D console log at that time.!! Quote:Using GPU shaders. ------------- tkbd |
|||
|
12-25-2015, 03:37 PM
Post: #2
|
||||
|
||||
|
RE: On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
Thanks for test it and the log. I should fix it soon.
It's a GLSL error message. It seems that some versions/drivers brand are tolerant to bad syntax in the code. I got some when porting it from a PC with Intel to my PC with AMD Radi on, but even in my PC I couldn't get this error. ![]() So, just for information, which video card are you using and what is the OpenGL/GLSL version?
|
||||
|
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.
|
||||
|
12-26-2015, 01:17 PM
(This post was last modified: 12-26-2015 01:20 PM by tkbd.)
Post: #4
|
|||
|
|||
|
RE: [fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
Thank you!
I was replaced with a new file. Marble shader is working fine now. Using GPU shaders. AUV: Shader ´Marble´ ok Quote:So, just for information, which video card are you using and what is the OpenGL/GLSL version? In my Mac Mini (Late 2014) Graphic card is Intel Iris 1536MB OpenGL v2.1 is used according to Wings3D's OpenGL info.. Quote:Version information But It is different from the official information of Apple Site. https://support.apple.com/en-us/HT202823 Mac Mini (Late 2014) Intel Iris Graphics : OpenGL 4.1 If it is compatible with OpenGL4.1,trunc function should work. Hmm.....Wings detects the wrong version? It is hard work in the same way in OpenGL a variety of environments,isn't it? ![]() Good Luck! Full Version information: Code: Vendor: Intel Inc.I found another bug. Error has also occurred in the *Noise* shader. Quote:Info: Fragment:---------- tkbd |
|||
|
12-26-2015, 05:16 PM
Post: #5
|
|||
|
|||
|
RE: [fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
Well the Mac handles opengl versions differently depending on its initialized.
|
|||
|
12-26-2015, 06:43 PM
Post: #6
|
||||
|
||||
RE: [fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
(12-26-2015 01:17 PM)tkbd Wrote: I found another bug.tkbd, the noise_ext.fs if ready for download. I think dgud is talking about what I read in this comment I found here.
|
||||
|
12-27-2015, 02:40 AM
Post: #7
|
|||
|
|||
|
RE: [fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
Still the same error came out.
Quote:ERROR: 0:393: '-' does not operate on 'float' and 'int'So, I change your code to "d = (d - float(int(d)));" wrapping by float() Then, Psychedelic noise (and other noise shaders) are workng!! ![]() In OSX, it seems type of variable is strict. Is it correct in this image result? ![]() ------ tkbd |
|||
|
12-27-2015, 11:50 AM
Post: #8
|
||||
|
||||
RE: [fixed] On OSX,Wings3d 2.0.2,AutoUV Marble Shader doesn't work.
(12-27-2015 02:40 AM)tkbd Wrote: So, I change your code to "d = (d - float(int(d)));" wrapping by float()That's then problem of the variety of environment. ![]() I can't test it properly and have to judge the fix by the error message only. Thank you for test and share the fix.
|
||||
|
« Next Oldest | Next Newest »
|
User(s) browsing this thread: 1 Guest(s)





@MicheusVieira
MicheusVieira
Micheuss
micheus4wings3d

