[Bf-committers] Shader Conversion tool

Dalai Felinto dfelinto at gmail.com
Wed Feb 2 19:01:11 CET 2011

the shaders are also available in a string easy to read format.
This is the gpu_shader_material.glsl - http://www.pasteall.org/18782/c . It
is the file used to generate the byte buffer you saw (also available in the
source under the name of gpu_shader_material.glsl.c, in the same folder


2011/2/2 Ρυακιωτάκης Αντώνης <kalast at gmail.com>

> Hi all!
> I was looking into gpu materials today and realized that shaders are
> actually in a numerical byte buffer instead of a string. Making the tool to
> convert between the two forms looks trivial, however I wouldn't mind if it
> was available somewhere. Is there some utility in the source tree that
> allows conversion or do i have to write one?
> _______________________________________________
> Bf-committers mailing list
> Bf-committers at blender.org
> http://lists.blender.org/mailman/listinfo/bf-committers

More information about the Bf-committers mailing list