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

Support decals #184

Closed
iche033 opened this issue Dec 8, 2020 · 2 comments
Closed

Support decals #184

iche033 opened this issue Dec 8, 2020 · 2 comments
Labels
enhancement New feature or request help wanted Extra attention is needed

Comments

@iche033
Copy link
Contributor

iche033 commented Dec 8, 2020

The goal is to support adding visual decals on the surface of meshes, e.g. imagine industrial concrete flooring with some spill marks on them. These spill marks can be applied on top of the floor as decals.

2 approaches:

a) Proper decals:
Here's high level description and code snippet for ogre 1.x:
http://wiki.ogre3d.org/OgreDecal

We need to figure out how to do it for ogre 2.1

b) Overlay
Create separate geometry → use texture with alpha transparency → overlay the geometry on top of another.
We need to set rendering order to avoid z-fighting

@iche033 iche033 added enhancement New feature or request help wanted Extra attention is needed labels Dec 8, 2020
@ahcorde
Copy link
Contributor

ahcorde commented Feb 4, 2021

@iche033 can we consider this done ? #188

@iche033
Copy link
Contributor Author

iche033 commented Feb 4, 2021

yep done.

Implemented approach b)

@iche033 iche033 closed this as completed Feb 4, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request help wanted Extra attention is needed
Projects
None yet
Development

No branches or pull requests

2 participants