Comments (1)
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)
- Allow Custom Model Files
- Play Button Status Icon Incorrect on Launch
- Quad never loads on http://shdr.bkcore.com/ HOT 5
- AltGr flips shader modes on Windows
- Transparency
- Implement normal smoothing HOT 1
- About Shdr Bug HOT 2
- Request: easy switching between vertex/fragment shaders HOT 2
- Changes lost when pressing CTRL+ALT HOT 1
- Update to WebGL 3 and above
- Add a way to hide the model preview HOT 1
- Syntax highlighting highlights built-in function names that appear in variable names
- Internet Explorer 11 editor issue HOT 1
- Add material side to the UI
- README update Build Instructions HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shdr.