imgui-node-editor
imgui-node-editor copied to clipboard
failed to compile fragment shader macOS issue
Hi, I try to compile the example via Xcode and I get this: What I can do? MacOS Ventura 13.1
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to compile fragment shader!
ERROR: 0:8: Invalid call of undeclared identifier 'texture2D'
ERROR: 0:9: Use of undeclared identifier 'col'
ERROR: 0:9: Use of undeclared identifier 'col'
ERROR: 0:9: Use of undeclared identifier 'gl_FragColor'
ERROR: 0:9: Use of undeclared identifier 'col'
ERROR: ImGui_ImplOpenGL3_CreateDeviceObjects: failed to link shader program! (with GLSL '#version 150
')
ERROR: One or more attached shaders not successfully compiled
Try changing renderer_ogl3.cpp line 99 from: const char* glslVersion = "#version 150";
To: const char* glslVersion = "#version 100";
It works nicely in my 2015 iMac, but have low FPS on Intel Mac Mini.
FWIW, this worked for me
OS: macOS 13.0 22A380 arm64 Host: MacBookPro18,1 Kernel: 22.1.0