buddhi1980 / mandelbulber2

Official repository for Mandelbulber v2
GNU General Public License v3.0
908 stars 115 forks source link

displacement texture producing red color, openCL latest version #570

Closed mclarekin closed 6 years ago

mclarekin commented 6 years ago

michael benson reported on facebook " the very latest version although have had the problem for sometime. Win10 latest, Nividia drivers v416.34. GTX 1080ti."

i can reproduce. It is OK with c++.

# Mandelbulber settings file
# version 2.15
# only modified parameters
[main_parameters]
ambient_occlusion_enabled true;
camera 7.152173654116528 -14.30237629290227 4.326063485818196;
camera_distance_to_target 9.777882233262062;
camera_rotation 22.56058227332774 -15.74832757168889 0;
camera_top -0.1041300894845502 0.2506423579603723 0.9624631592222136;
file_background E:\Textures\background.jpg;
file_envmap E:\Textures\envmap.jpg;
file_lightmap E:\Textures\lightmap.jpg;
flight_last_to_render 0;
formula_1 133;
keyframe_last_to_render 0;
mat1_file_color_texture C:\Program Files\Mandelbulber2\textures\background3.jpg;
mat1_file_displacement_texture C:\Program Files\Mandelbulber2\textures\background3.jpg;
mat1_is_defined true;
mat1_surface_color_palette 7b00ff 011cff 00b6ff 00ffb3 00fe1a 78ff00 ffec01 fe5200 ff0048 ff00e4;
mat1_texture_fractalize true;
mat1_use_color_texture true;
mat1_use_colors_from_palette false;
mat1_use_displacement_texture true;
raytraced_reflections true;
target 3.541605533991819 -5.611696090050073 1.672225429486591;
view_distance_max 77.7426790355988;
mclarekin commented 6 years ago

if use color texture from image, is the same image as displacement map => red

if same image but one is grey scale and the other color => works ok