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

Case 7120, Case 14963: Procedural material entities on primitives and meshes #16085

Open
wants to merge 15 commits into
base: master
from

Conversation

@HifiExperiments
Copy link
Contributor

commented Aug 22, 2019

taking over #15577

labels: engine, development ready, feedback welcome, open source, scripting API change, JSDoc

http://roadmap.highfidelity.com/open-source-project-proposals/p/procedural-materials-on-models-and-avatars
https://highfidelity.manuscript.com/f/cases/7120/Ability-for-a-user-to-create-import-custom-shaders-as-an-entity-material-type
https://highfidelity.fogbugz.com/f/cases/14963/Add-support-for-shaders-on-meshes-and-avatars

Test plan:

  • A new option has been added in Settings -> Graphics and at the bottom of Developer -> Render, "Use Procedural Materials on Meshes". It will default to disabled.
  • Run this. You'll see this:
    hifi-snap-by-SamGondelman-on-2019-05-16_20-14-34
  • When you press "u", the material entity (the small sphere) will be applied to the following in order and will then repeat: the sphere, the woody, the tablet, your avatar, nothing
  • You'll see the shader on the sphere:
    hifi-snap-by-SamGondelman-on-2019-05-16_20-14-49
  • But you won't see the material on the mannequin, tablet, or yourself (it will make the targeted meshes disappear):
    hifi-snap-by-SamGondelman-on-2019-05-16_20-15-23
  • When you enable "Use Procedural Materials on Meshes", you will start to see the material on those things:
    hifi-snap-by-SamGondelman-on-2019-05-16_20-15-37
    hifi-snap-by-SamGondelman-on-2019-05-16_20-15-45
    hifi-snap-by-SamGondelman-on-2019-05-16_20-15-53
  • The setting will persist between sessions.
SamGondelman added 14 commits May 16, 2019
@hifi-gustavo

This comment has been minimized.

Copy link
Contributor

commented Aug 22, 2019

Android build is available here. Quest build is available here

@hifi-gustavo

This comment has been minimized.

Copy link
Contributor

commented Aug 22, 2019

Android build is available here. Quest build is available here

@shanzzam shanzzam added this to the v0.84.0 milestone Aug 26, 2019

@shanzzam

This comment has been minimized.

Copy link
Contributor

commented Aug 26, 2019

build this please

@hifi-gustavo

This comment has been minimized.

Copy link
Contributor

commented Aug 26, 2019

Android build is available here. Quest build is available here

@HifiExperiments

This comment has been minimized.

Copy link
Contributor Author

commented Aug 26, 2019

@shanzzam can you send me the build console output so I can see why it’s failing

@hifi-gustavo

This comment has been minimized.

Copy link
Contributor

commented Sep 4, 2019

Android build is available here. Quest build is available here

@HifiExperiments HifiExperiments force-pushed the HifiExperiments:proceduralMesh branch from 50bc620 to 97b9179 Sep 5, 2019

@hifi-gustavo

This comment has been minimized.

Copy link
Contributor

commented Sep 5, 2019

Android build is available here. Quest build is available here

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
4 participants
You can’t perform that action at this time.