{"action":"closed","issue":{"url":"https://api.github.com/repos/TheCherno/Sparky/issues/70","repository_url":"https://api.github.com/repos/TheCherno/Sparky","labels_url":"https://api.github.com/repos/TheCherno/Sparky/issues/70/labels{/name}","comments_url":"https://api.github.com/repos/TheCherno/Sparky/issues/70/comments","events_url":"https://api.github.com/repos/TheCherno/Sparky/issues/70/events","html_url":"https://github.com/TheCherno/Sparky/issues/70","id":145050679,"number":70,"title":"OpenGL shader","user":{"login":"Xeryko","id":7304152,"avatar_url":"https://avatars.githubusercontent.com/u/7304152?v=3","gravatar_id":"","url":"https://api.github.com/users/Xeryko","html_url":"https://github.com/Xeryko","followers_url":"https://api.github.com/users/Xeryko/followers","following_url":"https://api.github.com/users/Xeryko/following{/other_user}","gists_url":"https://api.github.com/users/Xeryko/gists{/gist_id}","starred_url":"https://api.github.com/users/Xeryko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Xeryko/subscriptions","organizations_url":"https://api.github.com/users/Xeryko/orgs","repos_url":"https://api.github.com/users/Xeryko/repos","events_url":"https://api.github.com/users/Xeryko/events{/privacy}","received_events_url":"https://api.github.com/users/Xeryko/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2016-04-01T00:11:00Z","updated_at":"2016-04-13T02:06:05Z","closed_at":"2016-04-13T02:06:05Z","body":"Hey!\r\nFirst of all, I'm running the sandbox on a Intel HD Graphics 4000 just to advice.\r\n\r\nSecond is that the renderer isn't working with OpenGL (I tried with D3, and it works totally fine).\r\nThe scene is created, i have all of 3D stuff but the 2D stuff isn't working at all (I put errors at the end).\r\n\r\nSo i can understand that my OpenGL version won't support the version 330 core but why all the 3D stuff is working?\r\n\r\nHere is the Sparky console errors :\r\n````\r\nSPARKY:    ----------------------------------\r\nSPARKY:     OpenGL:\r\nSPARKY:        4.0.0 - Build 10.18.10.4358\r\nSPARKY:        Intel`\r\nSPARKY:        Intel(R) HD Graphics 4000\r\nSPARKY:    ----------------------------------\r\n\r\n--------------------------- Test3D Part ---------------------------\r\n\r\nSPARKY:    Failed to compile fragment shader!\r\nERROR: 0:12: '' : array size too big\r\nERROR: 0:20: 'textures' : undeclared identifier\r\nERROR: 0:20: 'textures' :  left of '[' is not of type array, matrix, or vector\r\nERROR: 0:20: 'texture' : no matching overloaded function found (using implicit conversion)\r\nERROR: 0:25: 'textures' : undeclared identifier\r\nERROR: 0:25: 'textures' :  left of '[' is not of type array, matrix, or vector\r\nERROR: 0:25: 'texture' : no matching overloaded function found (using implicit conversion)\r\nERROR: 0:25: 'assign' :  cannot convert from 'const float' to '4-component vector of float'\r\n\r\nSPARKY:    BatchRenderer: could not find uniform sys_ProjectionMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_ViewMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_ModelMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_MaskMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform textures in shader!\r\nSPARKY:    BatchRenderer: could not find uniform textures in shader!\r\nSPARKY:    Failed to compile fragment shader!\r\nERROR: 0:12: '' : array size too big\r\nERROR: 0:20: 'textures' : undeclared identifier\r\nERROR: 0:20: 'textures' :  left of '[' is not of type array, matrix, or vector\r\nERROR: 0:20: 'texture' : no matching overloaded function found (using implicit conversion)\r\nERROR: 0:25: 'textures' : undeclared identifier\r\nERROR: 0:25: 'textures' :  left of '[' is not of type array, matrix, or vector\r\nERROR: 0:25: 'texture' : no matching overloaded function found (using implicit conversion)\r\nERROR: 0:25: 'assign' :  cannot convert from 'const float' to '4-component vector of float'\r\n\r\nSPARKY:    BatchRenderer: could not find uniform sys_ProjectionMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_ViewMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_ModelMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_MaskMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform textures in shader!\r\nSPARKY:    BatchRenderer: could not find uniform textures in shader!\r\n\r\nSPARKY:    Skybox: could not find uniform sys_ProjectionMatrix in shader!\r\nSPARKY:    Skybox: could not find uniform sys_ViewMatrix in shader!\r\nSPARKY:    Skybox: could not find uniform sys_ModelMatrix in shader!\r\nSPARKY:    Skybox: could not find uniform sys_CameraPosition in shader!\r\nSPARKY:    AdvancedLighting: could not find uniform u_NormalColor in shader!\r\n\r\n--------------------------- Test2D Part ---------------------------\r\n\r\nSPARKY:    Failed to compile fragment shader!\r\nERROR: 0:12: '' : array size too big\r\nERROR: 0:20: 'textures' : undeclared identifier\r\nERROR: 0:20: 'textures' :  left of '[' is not of type array, matrix, or vector\r\nERROR: 0:20: 'texture' : no matching overloaded function found (using implicit conversion)\r\nERROR: 0:25: 'textures' : undeclared identifier\r\nERROR: 0:25: 'textures' :  left of '[' is not of type array, matrix, or vector\r\nERROR: 0:25: 'texture' : no matching overloaded function found (using implicit conversion)\r\nERROR: 0:25: 'assign' :  cannot convert from 'const float' to '4-component vector of float'\r\n\r\nSPARKY:    BatchRenderer: could not find uniform sys_ProjectionMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_ViewMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_ModelMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform sys_MaskMatrix in shader!\r\nSPARKY:    BatchRenderer: could not find uniform textures in shader!\r\nSPARKY:    BatchRenderer: could not find uniform textures in shader!\r\n```"}}