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

5 lines
200 B
GLSL

vec4 rhoSampler(inout vec4 finalColor, vec3 position) {
float intensity = texture(BatsrusRhoVolume, position).x;
return texture(BatsrusRhoTF, intensity);
//blendStep(finalColor, color, stepSize);
}