Volumes Of Fun
http://www.volumesoffun.com/phpBB3/

Using PolyVox in Unity3D with Texture Array's
http://www.volumesoffun.com/phpBB3/viewtopic.php?f=14&t=549
Page 1 of 1

Author:  DJDD [ Sun Nov 10, 2013 11:09 pm ]
Post subject:  Using PolyVox in Unity3D with Texture Array's

Hi folks,

Wondering if anyone has managed to use PolyVox with Texture Array's instead of Texture Atlas's within Unity3D? The bonus here is that with Texture Arrays (DX10+ and OGL support it) there is no limit (Within reason) to how many textures you can reference in a shader.

I've posted a question HEREon the Unity3D forums as I believe Unity's Texture3D object might be an implementation of Texture Array's, but there is little to no documentation on it.

Thoughts?

Author:  David Williams [ Mon Nov 11, 2013 12:34 pm ]
Post subject:  Re: Using PolyVox in Unity3D with Texture Array's

I don't know whether Unity3D supports texture arrays but 3D textures are not quite the same thing. For example, when you mipmap a 3D texture it will shrink it in all three dimensions, and this will cause different slices to blend together. For the Cubiquity smooth terrain we're just using different texture units, but we don't need many anyway.

Also heve a look at this: http://www.volumesoffun.com/polyvox/doc ... f-textures

Author:  DJDD [ Mon Nov 11, 2013 7:27 pm ]
Post subject:  Re: Using PolyVox in Unity3D with Texture Array's

Oh nice page of documentation there. It does look like Unity's Texture3D can have MIP mapping disabled in its constructor.
It would be nice to know whether Unity3D really does support Texture Arrays or not. I've left a message with their support team to answer in full, as I've not been able to get a straight answer online.

Page 1 of 1 All times are UTC
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/