Skip to content

Conversation

dov
Copy link
Contributor

@dov dov commented Aug 25, 2025

This example is a modification of vsgrendertotexture which uses the texture from the offscreen pass to create a yellow outline around the rendered model.

@robertosfield
Copy link
Collaborator

We might want to change the name as "renderwithoutline" can be read as:

rendering without line

OR

render with outline

When I first looked at this PR title it's the first one that assumed :-)

@dov
Copy link
Contributor Author

dov commented Aug 25, 2025

It's your convention to not use any separators between words, and I was just trying to adher to it. :-)

If it's ok with you, I'll just rename it to vsgrenderwith_outline or vsg-render-with-outline. Pick your choice.

@robertosfield
Copy link
Collaborator

Or just vsgrenderoutline :-)

@dov
Copy link
Contributor Author

dov commented Aug 26, 2025

Or just vsgrenderoutline :-)

Fine with me. I'll update the PR.

- This example illustrates how to draw an outline around the shapes by first rendering to a texture in the first pass, and then postprocessing the texture and adding the outline in the second pass.
@dov dov force-pushed the render-with-outline branch from 812a223 to b832a94 Compare August 27, 2025 17:19
@dov
Copy link
Contributor Author

dov commented Aug 27, 2025

I just carried out the change, and did a force push.

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