Giter VIP home page Giter VIP logo

Comments (17)

markusfisch avatar markusfisch commented on May 22, 2024

Hi, sorry, unfortunately not. At the moment, cube textures are not supported. But I will try to add it for the next release.

I'm planning to make the app as compatible as possible to Shadertoy because I want to use their API to import shaders.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Do you have any preference/idea how you'd want to set/define the six textures for the cube? From a predefined selection (like Shadertoy) or maybe from only one source image (mapping?)? I think it'd be better if a user could create a cube texture from something.

from shadereditor.

pcornier avatar pcornier commented on May 22, 2024

I think there is already something called a "vertical cross cube" format that can be used to group six sides of the cube into a single image. You can found examples by searching "vertical cross cube images" on google.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Okay, that's just what I thought it would be :)

I'll need to think a bit about how to implement that so that a user can create/use/compose textures in that format. Maybe I should just use it as a mask when importing a texture or something like that.

from shadereditor.

rafaellago avatar rafaellago commented on May 22, 2024

I like the way people made on shdr http://shdr.bkcore.com/ but of course, I have no idea how could this be presented on a small mobile screen.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Does shdr.bkcore.com support cube textures? Can't find anything. Or did you mean the UI in general?

from shadereditor.

rafaellago avatar rafaellago commented on May 22, 2024

Ok, I think I misinterpreted things. Thought you were saying about applying shaders to 3d objects.

from shadereditor.

pcornier avatar pcornier commented on May 22, 2024

I think you don't have to worry about how users are going to generate their images. You can just print a grid or an unfolded cube on top of the texture preview to show which part will be used.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Yes, I think so too. I'm going to try that.

@rafaellago: that's a bit further down on the list :)

from shadereditor.

pcornier avatar pcornier commented on May 22, 2024

Sounds good, thank you!

from shadereditor.

rafaellago avatar rafaellago commented on May 22, 2024

@markusfisch no worry, I'm quite pleased with how the app is at the moment. Maybe, camera integration, but since you are trying to make the app shadertoy compatible, I think that soon I'll see the feature.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Available in 2.4.0, here's a link to the Beta: https://play.google.com/apps/testing/de.markusfisch.android.shadereditor

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Pushed 2.4.0 in production. Should be available in the next few hours.

from shadereditor.

pcornier avatar pcornier commented on May 22, 2024

Oops too late. It works very well, thank you. However, I noticed that clicking the small insert button adds "sampler2D" instead of "samplerCube" but that's not a big issue.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Oh my :) Will fix this tomorrow. Expect a 2.4.1 very soon. Thanks for reporting!

from shadereditor.

fekga avatar fekga commented on May 22, 2024

Can you add some example cubemap as with the textures? Or give a link where
cubemaps compatible with the editor can be found?
Thanks!

2016-06-02 22:40 GMT+02:00 Markus Fisch [email protected]:

Oh my :) Will fix this tomorrow. Expect a 2.4.1 very soon. Thanks for
reporting!


You are receiving this because you are subscribed to this thread.
Reply to this email directly, view it on GitHub
#22 (comment),
or mute the thread
https://github.com/notifications/unsubscribe/ABpvKHVD7jAXHfP4mecaqYZPsulhuDuvks5qHz-rgaJpZM4HJ6Uo
.

from shadereditor.

markusfisch avatar markusfisch commented on May 22, 2024

Yes, that would also make very much sense. I'll try to find (or create) some. Will be in 2.4.1.

from shadereditor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.