8000 [examples] Add shader example: `vertex_displacement` by lloydlobo · Pull Request #500 · gen2brain/raylib-go · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

[examples] Add shader example: vertex_displacement #500

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

Merged

Conversation

lloydlobo
Copy link
Contributor

Description

This PR ports vertex displacement example from raysan5/raylib#4186.

It simulates a "simple wave effect in the ocean" via vertex displacement on a plane model.

See original live preview here.

Version

5.5

Test Platform

Linux (pop-os)
Platform backend: DESKTOP (GLFW)

Architecture:             x86_64
  CPU op-mode(s):         32-bit, 64-bit

Distributor ID: Pop
Description:    Pop!_OS 22.04 LTS
Release:        22.04

GL: OpenGL device information:
    > Vendor:   Intel
    > Renderer: Mesa Intel(R) UHD Graphics 630 (CFL GT2)
    > GLSL:     4.60

Preview

vertex_displacement
vertex_displacement

@gen2brain
Copy link
Owner

Thanks. The PNG and GIF files are not used in the code, right? Can you remove them?

@lloydlobo
Copy link
Contributor Author

Thanks. The PNG and GIF files are not used in the code, right? Can you remove them?

Sure thing :)

Yeah, I can remove them. The PNG and GIF files are simply for reference and aren't used at all in the game loop.

- remove screenshot PNG
- remove screenrec GIF
@gen2brain gen2brain merged commit fca3bf2 into gen2brain:master May 21, 2025
10 checks passed
@lloydlobo lloydlobo deleted the lloydlobo/examples-vertex-displacement branch May 22, 2025 07:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0