mirror of
https://github.com/OpenSpace/OpenSpace.git
synced 2026-03-16 18:40:35 -05:00
9 lines
336 B
GLSL
9 lines
336 B
GLSL
vec4 sampleEnlil(inout vec4 finalColor, vec3 position) {
|
|
vec3 p = CartesianToSpherical(position);
|
|
float intensity = texture(EnlilVolume, p).x;
|
|
// float intensity = texture(EnlilVolume, position).x;
|
|
// intensity *= 0.001f;
|
|
return texture(EnlilTF, intensity);
|
|
// color = vec4(1.0,0,0,1);
|
|
//blendStep(finalColor, color, stepSize);
|
|
} |