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

Could we get Editor example with shaders/texture? #10800

Closed
2 of 12 tasks
mcraiha opened this issue Feb 12, 2017 · 3 comments
Closed
2 of 12 tasks

Could we get Editor example with shaders/texture? #10800

mcraiha opened this issue Feb 12, 2017 · 3 comments
Labels

Comments

@mcraiha
Copy link

mcraiha commented Feb 12, 2017

Description of the problem

Could we get Three.js Editor example with shaders/textures?

All current examples shipped with Editor are missing custom shaders and texture loading. It seems to cause problems for people since they cannot figure out how the workflow should go with shaders/texture.

It could be just one example where there are two planes. Both planes are using Shaders and one is just using basic texture (uv via vert to frag and sampler in frag) and other one is some basic shader effect (e.g. living noise).

One problem description can be found from Stack Overflow
http://stackoverflow.com/questions/40974090/three-js-specify-a-shader-in-json-file-and-load-a-texture

Three.js version
  • Dev
  • r84
  • ...
Browser
  • All of them
  • Chrome
  • Firefox
  • Internet Explorer
OS
  • All of them
  • Windows
  • Linux
  • Android
  • IOS
Hardware Requirements (graphics card, VR Device, ...)
@mrdoob
Copy link
Owner

mrdoob commented Feb 14, 2017

Added a shaders example.
Texture-wise... I'm still trying to figure out an approach that scales.

@makc
Copy link
Contributor

makc commented Feb 24, 2017

@mrdoob what about imgur :) as in mrdoob/glsl-sandbox#40 for example.

if you have $, go with aws instead.

@Mugen87 Mugen87 added the Editor label Dec 10, 2018
Repository owner deleted a comment from pavan4 Oct 4, 2021
@Mugen87
Copy link
Collaborator

Mugen87 commented Jan 22, 2024

Using a separate content server for storing textures is out-of-scope for https://threejs.org/editor.

But to clarify: Textured assets can be serialized as JSON (and deserialized) so the editor does basically support workflows with textures. An external storage might be more suitable for production editor-like applications though.

@Mugen87 Mugen87 closed this as not planned Won't fix, can't repro, duplicate, stale Jan 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

4 participants