@totebo you can do it with shaders: open normal map example and change the last lines of ps.glsl in:
//gl_FragColor = g_Color * vec4(color0 * diff + color1 * spec, 1); this is the original last line, just to give you a reference// Convert to grayscale using NTSC conversion weightsfloat gray = dot(color0.rgb, vec3(0.299, 0.587, 0.114));
gl_FragColor = vec4(gray, gray, gray,1);
Unfortunately my knowledge is quite limited, and there are a lot of unneeded lines remaining in the shader file (things used for normal mapping) but this could give you a start...
Comments
open normal map example and change the last lines of ps.glsl in:
Likes: hgy29, SinisterSoft, totebo, rolfpancake
Likes: SinisterSoft, pie, totebo, rolfpancake
Likes: antix