Page MenuHome

Cube map support for GLSL render.
AbandonedPublic

Authored by Alexander Romanov (a.romanov) on Jul 17 2015, 6:59 PM.

Details

Summary

This patch allows to use cube map textures in GLSL render.
Now, it's possible to use "samplerCube" GLSL instruction and add uniform via GPU_cube_map function.

Patch has several lacks, but they can be fixed latter:

  • It doesn't consider DDS format of textures.
  • It doesn't consider shader export.

It was tested with world textures.

I hope this patch will help Blender Foundation.

Regards,
Valentin (Blend4Web Team).

Diff Detail

Event Timeline

Do you mind uploading a simple .blend file which demonstrates the way how you're using this mapping?

Do you mind uploading a simple .blend file which demonstrates the way how you're using this mapping?

I can, but it takes to apply an another patch with a glsl-function which use samplerCube texture (D1414, for example).

This patch was merged into D1414