webgl
webgl image slider
i am new to webgl and i am trying to make an image slider. for now i just made the ring of image (nothing should slide yet) but it does not work and i dont know why (all i get is black canvas and no e[详细]
2023-03-06 16:49 分类:问答How to get started with making a game like Angry Birds on Chrome
http://chrome.angrybirds.com/ The browser based app is said to be done using Canvas 2D or Web GL. I tried to view source using chrome by using \"Inspect Element\" button, but my chrome crashes each[详细]
2023-03-05 00:40 分类:问答WebGL: how to fetch/cache shaders efficiently?
I am currently developing a WebGL-based application, and I am having some trouble with shader storage…[详细]
2023-03-03 22:35 分类:问答WebGL - is there an alternative to embedding shaders in HTML?
The popular way of using GLSL shaders in WebGL seems to be to embed them in the main html file. The vertex and fragments shaders are embedded in tags like:[详细]
2023-03-02 11:27 分类:问答Updating information from the vertex shader
In the vertex shader program of a WebGL application, I am doing the 开发者_JAVA技巧following: Calculate gl_Position P using a function f(t) that varies in time.[详细]
2023-03-01 03:32 分类:问答Are there any non-mobile graphics cards that don't support "precision highp float"?
I know it is common for mobile phones to not support \'precision highp float\' in fragment shaders, but are there any desktop or laptop GPUs that don\'t support it?In other words, if I\'m only writing[详细]
2023-02-28 12:30 分类:问答How can I create a WebGL mesh from a JSON string in gwt-g3d?
How can I create a mesh (instance of StaticMesh) from a JSON string in gwt-g3d (http开发者_如何转开发://code.google.com/p/gwt-g3d/)?If the JSON string is static, you can load it as an ExternalMeshReso[详细]
2023-02-25 18:43 分类:问答Click to zoom in WebGL
I need to impleme开发者_JS百科nt what amounts to a \"Google Maps\" style zoom effect in WebGL.Specifically I have a simple 2-dimensional scene that is always perpendicular to the camera.When a user cl[详细]
2023-02-24 04:11 分类:问答Projective Texture Mapping using GLSL through WebGL
I want to project a texture on to a wall or any object.I modified this tutorial\'s shaders as follows based on this Cg projective texture mapping tutorial (ctrl-f \"9.3\") but I get a blank, white can[详细]
2023-02-23 04:47 分类:问答How can I rotate around a scene in webgl on mousedrag (emulating a camera moving around a position)
Okay, So I have been reading for the past few hours and I have managed to get the mouse drag to work on the x axis using the following matrix computation, but no luck with the y axis:[详细]
2023-02-21 22:39 分类:问答