Greggman
Greggman
Sorry, I was still thinking about it (and I'm on vacation) I appreciate the idea. I'm not 100% sure I like the change. It doesn't really add anything since the...
I would prefer rendering to a texture to be a separate article. It's on my list. Rendering to a texture is easy and it is inferable from the image articles...
FYI I added these https://webglfundamentals.org/webgl/lessons/webgl-data-textures.html https://webglfundamentals.org/webgl/lessons/webgl-render-to-texture.html The first one came up as I was writing the 2nd because I felt I needed to explain the formats at least a tiny...
You might find this useful https://stackoverflow.com/questions/50720534/implementing-depth-testing-for-semi-transparent-objects/50777930#50777930 I'm not 100% confident it's correct (my math sucks) but it looks correct at a glance.
So far you're the first. That would be great if you feel like translating it. Just follow the others, make a `webgl/lessons/zh_cn` or `zh_tw` folder and put an `index.md`, `toc.html`,...
`TEXTURE` not `TETXURE`
sorry about the typo the clue was in the error message > scene.js:223 WebGL: INVALID_ENUM: texParameter: invalid texture target the *texture target* is the first parameter and `INVALID_ENUM` in particular...
How big is the image? WebGL has a size limit maxSize = gl.getParameter(gl.MAX_TEXTURE_SIZE); Looks like for most phones the max size is 4096 http://webglstats.com/webgl/parameter/MAX_TEXTURE_SIZE?platforms=0000007c0012800500 Also note that size is the...
It really makes no sense use DOM coordinates in 3D for 99.9999% of all projects so changing the tutorial is probably not the best thing to do. The problem is...
I'll put it on my todo list to add something for multiple lights. Along with spotlights and shadows 😅 There are many big topics though if you're making an engine....