Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[examples] List of examples not working properly on Web platform #4682

Open
raysan5 opened this issue Jan 12, 2025 · 3 comments
Open

[examples] List of examples not working properly on Web platform #4682

raysan5 opened this issue Jan 12, 2025 · 3 comments
Labels
platform: Web Web platform

Comments

@raysan5
Copy link
Owner

raysan5 commented Jan 12, 2025

This issue is intended to get feedback for examples not working properly. Please, answer to this issue with the examples not working properly and the unexpected behaviour detected. Thanks!

Name Runs Fixed Comments
core_loading_tread Example crashes, it requires multi-threading support on raylib compilation before linkage
core_window_letterbox ✔️ Canvas resizing issue
core_top_down_lights ✔️ Minor: F1 shortcut conflicts with browser
textures_blend_modes ✔️ Quite poor example, requires a redesign
textures_draw_tiled ✔️ Canvas resizing issue
models_bone_socket ✔️ Minor: Slow rotation speed
models_point_rendering ✔️ Points not drawn, drawing triangles instead
models_yaw_pitch_roll ✔️ OBJ issues with texture coordinates loading
models_skybox ✔️ Skybox not drawn
shaders_raymarching ✔️ Canvas resizing issue
shaders_texture_tiling ✔️ ⚠️ Shader compilation issues: no-texture-repeat on GL ES 2.0
shaders_julia_set ✔️ ✔️ Shader compilation issues
shaders_mesh_instancing ✔️ Shader loading: works locally, some server issue on shader loading (skipped characters)
shaders_spotlight ✔️ Minor: Too fast movement
shaders_hybrid_render ✔️ Shader loading: works locally, some server issue on shader loading (skipped characters)
shaders_deferred_render Shader loading, not ported to GLSL100...
shaders_vertex_displacement ✔️ Shader loading: works locally, some server issue on shader loading (skipped characters)

Issue with shaders loading seems it could be related to not properly reading line-breaks and considering them as 2 bytes instead of just one and then something is mangled, really weird issue, it requires investigation...

Also detected some issues with the inputs related to the web requirement of clicking over the canvas to "enable" input access... that behaviour should probably be reviewed but it's a web-design-related.

@raysan5 raysan5 added the platform: Web Web platform label Jan 12, 2025
@michealguy
Copy link

image
Vertex Displacement doesn't seem to work for me

@michealguy
Copy link

image
Mesh Instancing example doesn't seem to work as well.

@nullstare
Copy link
Contributor

nullstare commented Jan 12, 2025

Deferred render, Julia set and Texture tiling failed to compile the shader. Hybrid Rendering failed to compile the rasterizing shader.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
platform: Web Web platform
Projects
None yet
Development

No branches or pull requests

3 participants