Skip to content

[example] cel-shading and outline using inverted hull #5615

Open
ggrizzly wants to merge 1 commit intoraysan5:masterfrom
ggrizzly:example-cel-shading
Open

[example] cel-shading and outline using inverted hull #5615
ggrizzly wants to merge 1 commit intoraysan5:masterfrom
ggrizzly:example-cel-shading

Conversation

@ggrizzly
Copy link

@ggrizzly ggrizzly commented Mar 3, 2026

Wanted to provide a cel-shading / outline example as that's relevant to a game project I'm working on. Didn't see one in examples, so here we are!

make shaders/shader_cel_shading in examples to test.

cel_shader_ex.mp4

@ggrizzly ggrizzly changed the title added cel-shading and outline using inverted hull example [example] cel-shading and outline using inverted hull Mar 3, 2026
@raysan5
Copy link
Owner

raysan5 commented Mar 3, 2026

@ggrizzly thanks for the new example, looks great. Note that glsl120 and glsl100 versions of the shader should be provided to work on PLATFORM_WEB or platforms requiring OpenGL ES 2.0. Also, the screenshot for the example does not follow required size, it seems manually captured; note that you can press F12 to automatically capture the screen while running the example.

@ggrizzly
Copy link
Author

ggrizzly commented Mar 3, 2026

@raysan5 Yeah I just manually screenshotted via the OS, but I can upload a proper screenshot. Good callout on the OpenGL versioning, will update as well - appreciate it!

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