Cytexx

Dynamic Texture Tiling

Recommended Posts

Hey fellow Babylonians,

i ran into a problem regarding the performance of big dynamic textures (had it on 8000x8000, but already reduced that). I needed to tile the texture with this process.
Is there a more performant way of tiling a dynamic texture? 

The reason why i even use a dynamic texture is because i want a smooth blend between 2 textures. Maybe there is even a more performant way of accomplishing this without using a dynamic texture?

Greets,

Cytexx

Share this post


Link to post
Share on other sites

Hey, 

not sure how exactly i can use external image sources in the playground but here is the playground that should run once the images are loaded correctly:

http://playground.babylonjs.com/#ICMA68

The out-commented parts are the parts if the size of the dynamic-textures canvas is changed.

(the performance is not bad on a normal desktop computer, but our application should also run mobile)

Share this post


Link to post
Share on other sites

I tried to load images from imgur, but its still not loading. Even tried to load images from the babylon site and they don't load. 

Maybe just a short answer regarding the question: What is the best approach to fade from one texture to another?

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

  • Recently Browsing   0 members

    No registered users viewing this page.