Bicubic bump map filtering.
authorAntony Riakiotakis <kalast@gmail.com>
Thu, 15 Dec 2011 13:58:09 +0000 (13:58 +0000)
committerAntony Riakiotakis <kalast@gmail.com>
Thu, 15 Dec 2011 13:58:09 +0000 (13:58 +0000)
commit6ccc605660ea0b45b723016e82b3635f8d5cc707
tree7def5ad95056f9c36a778d6de25565b420dfe048
parent030694b26041d793ca53aa4282e3e4e2d98f559f
Bicubic bump map filtering.

This commit introduces bicubic bump map capabilities for the viewport for OpenGL 3.0+ capable GPUs.

To use the functionality change the bump mapping method to "best quality"
Previous "best quality" setting becomes "medium quality" now.
For non OpenGL 3.0 GPUs this becomes the same as "medium quality"

Also:
* added tooltip descriptions to the bump method settings.
* modified the shader to ommit extraneous matrix multiplications for matrices already provided by OpenGL.

Bicubic shader by Morten Mikkelsen. Thanks a lot!

Oh...and FIRST!
release/scripts/startup/bl_ui/properties_texture.py
source/blender/blenkernel/intern/material.c
source/blender/gpu/GPU_extensions.h
source/blender/gpu/intern/gpu_codegen.c
source/blender/gpu/intern/gpu_material.c
source/blender/gpu/intern/gpu_shader_material.glsl
source/blender/gpu/intern/gpu_shader_material.glsl.c
source/blender/makesdna/DNA_texture_types.h
source/blender/makesrna/intern/rna_material.c
source/blender/render/intern/source/render_texture.c
source/blender/windowmanager/intern/wm_init_exit.c