Giter VIP home page Giter VIP logo

objview's People

Contributors

lkarydas avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

objview's Issues

error: GLSL 3.30 is not supported

i got the following when running with my desktop computer intel i915 gpu, that unfortunately support
shading language up to 1.30.

 $ glxinfo | grep "shading language"
OpenGL core profile shading language version string: 3.30
OpenGL shading language version string: 1.30

$ ./objview ~/Downloads/Object3d.obj

GL Vendor   : Intel Open Source Technology Center
GL Renderer : Mesa DRI Intel(R) Haswell Desktop 
GL Version  : 3.0 Mesa 10.1.3
Compiling shader : ../shaders/vertShader.glsl
0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

Compiling shader : ../shaders/fragShader.glsl
0:2(10): error: GLSL 3.30 is not supported. Supported versions are: 1.10, 1.20, 1.30, 1.00 ES, and 3.00 ES

Linking program
error: linking with uncompiled shadererror: linking with uncompiled shader

is'it possible to make shaders compatible with at list

Light position in Shader

The light position is currently hard-coded inside the vertex shader. This has to change to a uniform passed to the shader.

NormalMatrix

The normal matrix (calculated as the inverse transpose of the model-view matrix) should be passed to the shader

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.