Comments (17)
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.
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.
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.
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.
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.
Does shdr.bkcore.com support cube textures? Can't find anything. Or did you mean the UI in general?
from shadereditor.
Ok, I think I misinterpreted things. Thought you were saying about applying shaders to 3d objects.
from shadereditor.
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.
Yes, I think so too. I'm going to try that.
@rafaellago: that's a bit further down on the list :)
from shadereditor.
Sounds good, thank you!
from shadereditor.
@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.
Available in 2.4.0, here's a link to the Beta: https://play.google.com/apps/testing/de.markusfisch.android.shadereditor
from shadereditor.
Pushed 2.4.0 in production. Should be available in the next few hours.
from shadereditor.
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.
Oh my :) Will fix this tomorrow. Expect a 2.4.1 very soon. Thanks for reporting!
from shadereditor.
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.
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)
- Pasting causes editor to scroll up to the top HOT 1
- Features request: Notification detector
- Request: Sub-second accuracy date/daytime uniforms.
- Request: Add extra preset textures
- Request: Support for read+write variable pairs HOT 2
- Feature Request: Lexer-/Parser-Based Syntax highlighting HOT 3
- [Suggestion]: refactor `ShaderRenderer` HOT 2
- QoL: Hide TAB button when code is hidden HOT 1
- QoL: Search bar in Add uniform/texture HOT 2
- Long errors will get trimmed by Android HOT 11
- Different wallpaper shaders for home screen and lock screen HOT 3
- Gyroscope input issues HOT 3
- Sensor didn't work HOT 3
- Variable for dark/night mode HOT 2
- Idea: Use the shaders as custom screensavers
- L0002: Undeclared variable 'iTime' HOT 1
- Touch screen like mouse in computer? HOT 1
- Limit FPS HOT 2
- No matching overload function HOT 2
- Live wallpaper not work in some device HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from shadereditor.