Age | Commit message (Collapse) | Author | |
---|---|---|---|
2012-06-22 | Make sure that the distance is positive | Ehsan Akhgari | |
2012-06-22 | Use component extractors | Ehsan Akhgari | |
2012-06-22 | Don't hardcode the density into the fragment shader for fogs | Ehsan Akhgari | |
Instead, read it in as a uniform, so that the same shader can be reused with different density values. | |||
2012-06-21 | Merge pull request #487 from ehsan/fog | Alon Zakai | |
Fog support for immediate mode | |||
2012-06-21 | indentation fixes | Alon Zakai | |
2012-06-21 | Merge pull request #483 from caiiiycuk/emscripten_fs_api | Alon Zakai | |
Emscripten filesystem api | |||
2012-06-21 | quoting for closure | Alon Zakai | |
2012-06-21 | Avoid creating garbage by allocating strings | Ehsan Akhgari | |
2012-06-21 | Compute the fog in the fragment shader | Ehsan Akhgari | |
This makes the fog a bit more precise, and matches how native OpenGL calculates the fog value. But it also means that it would be a bit more expensive to calculate because it is calculated once per pixel. | |||
2012-06-21 | Take the fog into account when caching renderers | Ehsan Akhgari | |
2012-06-21 | call Module.onFullScreen when going to full screen (allows the app to do ↵ | Alon Zakai | |
custom behavior like adjusting resolution | |||
2012-06-21 | Implement GL_LINEAR fog mode | Ehsan Akhgari | |
2012-06-21 | Implement GL_EXP2 fog mode | Ehsan Akhgari | |
2012-06-21 | Add support for fog density | Ehsan Akhgari | |
2012-06-21 | Add support for glIsEnabled(GL_FOG) | Ehsan Akhgari | |
2012-06-21 | Compute the color involving the shader first and then apply the fog | Ehsan Akhgari | |
2012-06-21 | Use only the z component of the distance vector | Ehsan Akhgari | |
The length of the vector should give us more precise fogs, but ancient OpenGL only uses the z component, so that's what we need to use here as well. | |||
2012-06-21 | Remove two unused variables | Ehsan Akhgari | |
2012-06-21 | Fix a number of typos | Ehsan Akhgari | |
2012-06-21 | Implementation for emscripten_async_wget | Aleksander Guryanov | |
2012-06-20 | Initial immediate mode fog support | Ehsan Akhgari | |
2012-06-20 | Respect GL_FOG in glEnable/glDisable | Ehsan Akhgari | |
2012-06-20 | Fix a typo | Ehsan Akhgari | |
2012-06-20 | Stub out the other fog functions | Ehsan Akhgari | |
2012-06-19 | Check for supported capabilities explicitly | Ehsan Akhgari | |
This prevents a bunch of warning messages for things which we don't support. | |||
2012-06-18 | write preparing, not downloading when preparing downloaded data | Alon Zakai | |
2012-06-17 | define preRun and postRun in browser html | Alon Zakai | |
2012-06-17 | allow multiple preRun/postRun | Alon Zakai | |
2012-06-17 | Merge pull request #474 from ehsan/mouselockmovement | Alon Zakai | |
Fix the mouse coordinates in pointer lock mode | |||
2012-06-16 | refactor SDL audio a little and add support for music volume adjustment | Alon Zakai | |
2012-06-16 | only warn on lack of texture compression, some parts of levels might still work | Alon Zakai | |
2012-06-16 | GL_QUAD non-0 start rendering fix | Alon Zakai | |
2012-06-15 | gl todo | Alon Zakai | |
2012-06-15 | handle -1 arguments to Mix_Volume | Alon Zakai | |
2012-06-15 | SDL_StartTextInput stub | Alon Zakai | |
2012-06-15 | SDL_GetVideoSurface | Alon Zakai | |
2012-06-14 | silly fix for gl_ModelViewMatrixTranspose[2] | Alon Zakai | |
2012-06-14 | basic fog support | Alon Zakai | |
2012-06-14 | Fix the mouse coordinates in pointer lock mode | Ehsan Akhgari | |
This patch enables us to trust the mouse movement information that the browser provides when the pointer lock is active. It should help with the mouse movement detection for games in full-screen mode, if they use the SDL xrel/yrel information. | |||
2012-06-14 | some fog work | Alon Zakai | |
2012-06-14 | ignore phi assigns of undef | Alon Zakai | |
2012-06-14 | ignore GL_TEXTURE_COMPRESSION_HINT | Alon Zakai | |
2012-06-14 | init texture compression early | Alon Zakai | |
2012-06-13 | support NULL rect in SDL_FillRect | Alon Zakai | |
2012-06-13 | s3tc compression support | Alon Zakai | |
2012-06-13 | Merge pull request #466 from caiiiycuk/SDL_HWPALETTE | Alon Zakai | |
Implementation of SDL_Surface with SDL_HWPALETTE flag (8bpp surface) | |||
2012-06-13 | Implementation of SDL_HWPALETTE | Aleksander Guryanov | |
Little bit refactoring for copyIndexedColorData now it can accept dirty rect | |||
2012-06-12 | Merge pull request #471 from ehsan/gl_identity_matrix | Alon Zakai | |
Gl identity matrix | |||
2012-06-12 | emscripten_random | Alon Zakai | |
2012-06-12 | Initialize the projection and modelview matrices to identity | Ehsan Akhgari | |
This is required by the spec. Without this change, the testcase in this patch merely renders the background, and the box in the upper right corner will not get rendered at all. |