Files
OpenSpace/data/scene/batsrus/psampler.glsl
2016-02-21 01:52:48 +01:00

5 lines
194 B
GLSL

vec4 pSampler(inout vec4 finalColor, vec3 position) {
float intensity = texture(BatsrusPVolume, position).x;
return texture(BatsrusPTF, intensity);
//blendStep(finalColor, color, stepSize);
}