» Fake Cubemap for dx11
This site relies heavily on Javascript. You should enable it if you want the full experience. Learn more.

Fake Cubemap for dx11

Cubemap in md.bot.2

Fake cubemaps in dx11 until a proper integration won't come. This stores the sides of the cube in a volume texture. but you can stick together any spread of textures (with 6 slices). Then in shader you can sample the volume texture as it was really a cubetexture with a direction vector. thanks to tonfilm for the plane hit test and sebl for the VolumeQueue shader.
contribution after i will tidy this up.

microdee, Tuesday, Jun 25th 2013 Digg | Tweet | Delicious 4 comments  
everyoneishappy 25/06/2013 - 14:03

What's up with the native dx11 texture2d's cube map? can you not sample from it at the moment? Was just about to use it for something so that's good timing to hear about it :)

microdee 25/06/2013 - 14:46

simply there's no cube texture rendertarget yet. also i couldn't find an option to read cube textures in filetexture either.
i'm sure it's pretty much possible to write a renderer based on the Renderer (DX11 TempTarget) but unfortunately i'm still not that good at coding.

microdee 25/06/2013 - 19:09

ok i started something based on Renderer (DX11 Volume) and i've discovered that the only way would be over RenderTextureArray hackery but that didn't work

everyoneishappy 26/06/2013 - 01:01

Ah ok, so you can read them, you just can't yet write them in the usual way. So great you are doing that!

For reading one from file you can just use the standard filetexture DX11-2D and it will just figure out that it's a cubetexture you are feeding it. Fancy.

  • 1

anonymous user login


~21min ago

evvvvil: @mediadog, thankx for pointing it out broski. Wicked.

~1d ago

domj: Catching up with the Midweek Patch Therapy excerpts, expect more videos over the week. https://youtu.be/36r8LnHaS7g

~2d ago

mediadog: @evvvvil hey you made the webgl-dev-list cool stuff list: http://gfxprose.blogspot.com/2020/05/cool-webgl-stuff-2020-05-21.html

~3d ago

evvvvil: Yo I'm live doing a VJ set made in vvvv for OUTLINE demoparty with OddJohn DJing! Come see us play here: https://www.twitch.tv/outlinedemoparty/

~4d ago

domj: A blast to read with great references. Thoughts on how to make programming more learnable and understandable. http://worrydream.com/LearnableProgramming/

~5d ago

gegenlicht: @evvvvil damn. - missed it. Such unique styles, others would create 1000 twitter loops from one of ur sessions. :3 #bobrossmarch

~5d ago

sebescudie: Vous voulez vous mettre à #vvvv ou vous connaissez quelqu'un qui aimerait? Je donne un webinaire en français! https://nodeforum.org/announcements/introduction-au-creative-coding-avec-vvvv-gamma/

~5d ago

domj: Hope to see you at Midweek Patch Therapy at 17:30 today! https://therapy.domj.net/

~5d ago

domj: @evvvvil ooh that electric fog at 2:30

~6d ago

evvvvil: Yo bros I'm live on Twitch showing my vj tool made in vvvv with my new raymarching library. https://www.twitch.tv/evvvvil_