unicomp21 Posted August 23, 2015 Share Posted August 23, 2015 Any chance we can get these in Babylonjs? Quote Link to comment Share on other sites More sharing options...
iiceman Posted August 24, 2015 Share Posted August 24, 2015 Just out of curiosity how does that look like? I know what procedural textures are but I can't really imagine what you mean with 3D procedural textures. Is it like a bump mapping texture? Quote Link to comment Share on other sites More sharing options...
unicomp21 Posted August 24, 2015 Author Share Posted August 24, 2015 Instead of a tiled 2D grid of values, it's a tiled/toroidal 3D grid of values. Takes up more memory, but can really simplify texturing. Typically one will need a few small 3D textures which can then be used to permute one another and create even larger textures which are indexed by uvw rather than just uv. Quote Link to comment Share on other sites More sharing options...
unicomp21 Posted August 24, 2015 Author Share Posted August 24, 2015 Hardware 3D textures are coming in webgl2, but would be nice if there was a trick for doing them in webgl1. I've tried but can't make it happen w/o seams. Hoping there is someone smarter than me out there. Quote Link to comment Share on other sites More sharing options...
reddozen Posted August 26, 2015 Share Posted August 26, 2015 ohhh, I assume you're talking about like terrain layering. They do this lot in unreal engine using clamped alpha layer maps and tiled grass, tree, dirt textures. I assume that you could do something similar using the worldmonger demo example. Quote Link to comment Share on other sites More sharing options...
reddozen Posted August 26, 2015 Share Posted August 26, 2015 Hardware 3D textures are coming in webgl2, but would be nice if there was a trick for doing them in webgl1. I've tried but can't make it happen w/o seams. Hoping there is someone smarter than me out there. I'm actually looking forward to webGL3 at this point with the AMD assisted openGL replacment "Vulkan" https://www.khronos.org/vulkan. It's a modern graphics API... I'm excited. Quote Link to comment Share on other sites More sharing options...
Recommended Posts
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.