Comments (5)
I'm also experiencing this error too.
WebGL Context Info
Context Name experimental-webgl
GL Version WebGL 1.0
Shading Language Version WebGL GLSL ES 1.0
Vendor Mozilla
Renderer Mozilla
Vertex Shader
Max Vertex Attributes 16
Max Vertex Uniform Vectors 254
Max Vertex Texture Image Units 4
Max Varying Vectors 10
Rasterizer
Aliased Line Width Range [1, 1]
Aliased Point Size Range [1, 256]
Fragment Shader
Max Fragment Uniform Vectors 221
Max Texture Image Units 16
Framebuffer
RGBA Bits [8, 8, 8, 8]
Depth / Stencil Bits: [24, 8]
Max Render Buffer Size 16384
Max Viewport Dimensions [16384, 16384]
Textures
Max Texture Size 16384
Max Cube Map Texture Size 16384
Max Combined Texture Image Units 20
Supported WebGL Extensions
OES_texture_float
OES_standard_derivatives
EXT_texture_filter_anisotropic
MOZ_WEBGL_lose_context
MOZ_WEBGL_compressed_texture_s3tc
In firefox, I found this error message relating to textures:
Timestamp: 18/02/2013 3:25:07 PM
Warning: Error: WebGL: linkProgram failed, with this log:
(52,30): error X3090: ps_3_0 does not allow textures or samplers to be members of compound types
Source File: http://greweb.fr/glsl.js/glsl.js
Line: 479
from deprecated-glsl.js.
WebGL Context Info
Context Name experimental-webgl
GL Version WebGL 1.0 (OpenGL ES 2.0 Chromium)
Shading Language Version WebGL GLSL ES 1.0 (OpenGL ES GLSL ES 1.0 Chromium)
Vendor WebKit
Renderer WebKit WebGL
Vertex Shader
Max Vertex Attributes 16
Max Vertex Uniform Vectors 4096
Max Vertex Texture Image Units 16
Max Varying Vectors 16
Rasterizer
Aliased Line Width Range [1, 5]
Aliased Point Size Range [1, 255]
Fragment Shader
Max Fragment Uniform Vectors 4096
Max Texture Image Units 16
Framebuffer
RGBA Bits [8, 8, 8, 8]
Depth / Stencil Bits: [24, 8]
Max Render Buffer Size 8192
Max Viewport Dimensions [8192, 8192]
Textures
Max Texture Size 8192
Max Cube Map Texture Size 2048
Max Combined Texture Image Units 32
Supported WebGL Extensions
OES_texture_float
OES_standard_derivatives
WEBKIT_EXT_texture_filter_anisotropic
OES_vertex_array_object
OES_element_index_uint
WEBKIT_WEBGL_lose_context
WEBKIT_WEBGL_compressed_texture_s3tc
WEBKIT_WEBGL_depth_texture
I have an integrated Intel GPU.
from deprecated-glsl.js.
"(52,30): error X3090: ps_3_0 does not allow textures or samplers to be members of compound types"
ok so it makes sense now, sampler2D as part of a struct seems to break.
Can you tell me if it works now?
from deprecated-glsl.js.
Works now 👍
from deprecated-glsl.js.
Super! thanks for your help guys!
from deprecated-glsl.js.
Related Issues (14)
- Using textContent instead of innerHTML
- More flexibility on the vec2, vec3 and vec4 binding
- Support for <canvas> as an input HOT 1
- Support for <video> as an input HOT 1
- Simplifying the parsing?
- WebGL leak for textures? HOT 1
- Vertex Shaders HOT 1
- Fall back to canvas when WebGL is not supported HOT 2
- Texture Copy Speed HOT 2
- advanced examples are not working on Opera
- Unable to synchronize WebGL-enabled canvas to Sampler2d HOT 2
- refactor and trusting existing libraries
- NPM support HOT 2
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 deprecated-glsl.js.