Coder Social home page Coder Social logo

Comments (1)

BKcore avatar BKcore commented on August 28, 2024

Shdr's compiler/validator is the standard chrome ESSL compiler, all Shdr is doing is parsing the error to display it in a better way.
If your shader does not compile in Shdr, it means that chrome's ESSL compiler won't compile it either, and there is nothing I can do about that.

Please make sure your code is valid.

Also, a link to a problematic shader would help. (Hit the Share button in Shdr)

-T

On Aug 24, 2013, at 9:16 AM, SonarSoundProgramming [email protected] wrote:

This issue I have shows up all the time on code that should be able to compile correctly. I don't know why every time when i try to pass a vec4 function to the gl_FragColor I get this. Is the gl_FragColor not supposed to be a vec4? From my understanding it was. It is a rather annoying problem. I love the UI and everything. The models look fantastic but I need to be able to pass vec4's to the fragment as it is just common shader sense. It also happens with "vec2 uv = gl_TexCoord[0].st". can not convert from 'float' to '2-component vector of float'


Reply to this email directly or view it on GitHub.

from shdr.

Related Issues (16)

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.