Skip to content

Instantly share code, notes, and snippets.

@axtimwalde
Created April 26, 2018 19:54
Show Gist options
  • Save axtimwalde/c7ba9b8910383e2f0efcf364c6d4d64d to your computer and use it in GitHub Desktop.
Save axtimwalde/c7ba9b8910383e2f0efcf364c6d4d64d to your computer and use it in GitHub Desktop.
[SciJava-47ff0e6c-Thread-0] INFO SciView - Started application as PID 17732
[SciJava-47ff0e6c-Thread-0] INFO OpenGLRenderer - Initializing OpenGL Renderer...
[SciJava-47ff0e6c-Thread-0] INFO OpenGLRenderer - Loaded Deferred Shading (Deferred Shading, with HDR postprocessing and FXAA
ClearGLWindow: GLProfile[GL4/GL4.hw]
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - OpenGLRenderer: 512 x 512 on Mesa DRI Intel(R) HD Graphics 5500 (Broadwell GT2) , 4.5 (Core Profile) Mesa 17.4.0-devel (git-2b612431f5 2017-10-28 xenial-oibaf-ppa)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Available OpenGL extensions: GL_3DFX_texture_compression_FXT1, GL_AMD_conservative_depth, GL_AMD_draw_buffers_blend, GL_AMD_seamless_cubemap_per_texture, GL_AMD_shader_trinary_minmax, GL_AMD_vertex_shader_layer, GL_AMD_vertex_shader_viewport_index, GL_ANGLE_texture_compression_dxt3, GL_ANGLE_texture_compression_dxt5, GL_APPLE_object_purgeable, GL_ARB_ES2_compatibility, GL_ARB_ES3_1_compatibility, GL_ARB_ES3_2_compatibility, GL_ARB_ES3_compatibility, GL_ARB_arrays_of_arrays, GL_ARB_base_instance, GL_ARB_blend_func_extended, GL_ARB_buffer_storage, GL_ARB_clear_buffer_object, GL_ARB_clear_texture, GL_ARB_clip_control, GL_ARB_compressed_texture_pixel_storage, GL_ARB_compute_shader, GL_ARB_conditional_render_inverted, GL_ARB_conservative_depth, GL_ARB_copy_buffer, GL_ARB_copy_image, GL_ARB_cull_distance, GL_ARB_debug_output, GL_ARB_depth_buffer_float, GL_ARB_depth_clamp, GL_ARB_derivative_control, GL_ARB_direct_state_access, GL_ARB_draw_buffers, GL_ARB_draw_buffers_blend, GL_ARB_draw_elements_base_vertex, GL_ARB_draw_indirect, GL_ARB_draw_instanced, GL_ARB_enhanced_layouts, GL_ARB_explicit_attrib_location, GL_ARB_explicit_uniform_location, GL_ARB_fragment_coord_conventions, GL_ARB_fragment_layer_viewport, GL_ARB_fragment_shader, GL_ARB_framebuffer_no_attachments, GL_ARB_framebuffer_object, GL_ARB_framebuffer_sRGB, GL_ARB_get_program_binary, GL_ARB_get_texture_sub_image, GL_ARB_gpu_shader5, GL_ARB_gpu_shader_fp64, GL_ARB_gpu_shader_int64, GL_ARB_half_float_pixel, GL_ARB_half_float_vertex, GL_ARB_indirect_parameters, GL_ARB_instanced_arrays, GL_ARB_internalformat_query, GL_ARB_internalformat_query2, GL_ARB_invalidate_subdata, GL_ARB_map_buffer_alignment, GL_ARB_map_buffer_range, GL_ARB_multi_bind, GL_ARB_multi_draw_indirect, GL_ARB_occlusion_query2, GL_ARB_pipeline_statistics_query, GL_ARB_pixel_buffer_object, GL_ARB_point_sprite, GL_ARB_polygon_offset_clamp, GL_ARB_program_interface_query, GL_ARB_provoking_vertex, GL_ARB_query_buffer_object, GL_ARB_robust_buffer_access_behavior, GL_ARB_robustness, GL_ARB_sample_shading, GL_ARB_sampler_objects, GL_ARB_seamless_cube_map, GL_ARB_seamless_cubemap_per_texture, GL_ARB_separate_shader_objects, GL_ARB_shader_atomic_counter_ops, GL_ARB_shader_atomic_counters, GL_ARB_shader_ballot, GL_ARB_shader_bit_encoding, GL_ARB_shader_clock, GL_ARB_shader_draw_parameters, GL_ARB_shader_group_vote, GL_ARB_shader_image_load_store, GL_ARB_shader_image_size, GL_ARB_shader_objects, GL_ARB_shader_precision, GL_ARB_shader_storage_buffer_object, GL_ARB_shader_subroutine, GL_ARB_shader_texture_image_samples, GL_ARB_shader_texture_lod, GL_ARB_shader_viewport_layer_array, GL_ARB_shading_language_420pack, GL_ARB_shading_language_packing, GL_ARB_stencil_texturing, GL_ARB_sync, GL_ARB_tessellation_shader, GL_ARB_texture_barrier, GL_ARB_texture_buffer_object, GL_ARB_texture_buffer_object_rgb32, GL_ARB_texture_buffer_range, GL_ARB_texture_compression_bptc, GL_ARB_texture_compression_rgtc, GL_ARB_texture_cube_map_array, GL_ARB_texture_filter_anisotropic, GL_ARB_texture_float, GL_ARB_texture_gather, GL_ARB_texture_mirror_clamp_to_edge, GL_ARB_texture_multisample, GL_ARB_texture_non_power_of_two, GL_ARB_texture_query_levels, GL_ARB_texture_query_lod, GL_ARB_texture_rectangle, GL_ARB_texture_rg, GL_ARB_texture_rgb10_a2ui, GL_ARB_texture_stencil8, GL_ARB_texture_storage, GL_ARB_texture_storage_multisample, GL_ARB_texture_swizzle, GL_ARB_texture_view, GL_ARB_timer_query, GL_ARB_transform_feedback2, GL_ARB_transform_feedback3, GL_ARB_transform_feedback_instanced, GL_ARB_transform_feedback_overflow_query, GL_ARB_uniform_buffer_object, GL_ARB_vertex_array_bgra, GL_ARB_vertex_array_object, GL_ARB_vertex_attrib_64bit, GL_ARB_vertex_attrib_binding, GL_ARB_vertex_shader, GL_ARB_vertex_type_10f_11f_11f_rev, GL_ARB_vertex_type_2_10_10_10_rev, GL_ARB_viewport_array, GL_ATI_blend_equation_separate, GL_ATI_texture_float, GL_EXT_abgr, GL_EXT_blend_equation_separate, GL_EXT_draw_buffers2, GL_EXT_draw_instanced, GL_EXT_framebuffer_blit, GL_EXT_framebuffer_multisample, GL_EXT_framebuffer_multisample_blit_scaled, GL_EXT_framebuffer_sRGB, GL_EXT_packed_depth_stencil, GL_EXT_packed_float, GL_EXT_pixel_buffer_object, GL_EXT_polygon_offset_clamp, GL_EXT_provoking_vertex, GL_EXT_shader_integer_mix, GL_EXT_shader_samples_identical, GL_EXT_texture_array, GL_EXT_texture_compression_dxt1, GL_EXT_texture_compression_rgtc, GL_EXT_texture_compression_s3tc, GL_EXT_texture_filter_anisotropic, GL_EXT_texture_integer, GL_EXT_texture_sRGB, GL_EXT_texture_sRGB_decode, GL_EXT_texture_shared_exponent, GL_EXT_texture_snorm, GL_EXT_texture_swizzle, GL_EXT_timer_query, GL_EXT_transform_feedback, GL_EXT_vertex_array_bgra, GL_IBM_multimode_draw_arrays, GL_INTEL_performance_query, GL_KHR_blend_equation_advanced, GL_KHR_context_flush_control, GL_KHR_debug, GL_KHR_no_error, GL_KHR_robust_buffer_access_behavior, GL_KHR_robustness, GL_MESA_pack_invert, GL_MESA_shader_integer_functions, GL_MESA_texture_signed_rgba, GL_NV_conditional_render, GL_NV_depth_clamp, GL_NV_packed_depth_stencil, GL_NV_texture_barrier, GL_OES_EGL_image, GL_S3_s3tc
[SciJava-47ff0e6c-Thread-0] DEBUG JOGLMouseAndKeyHandler - Native JARs for JInput: e/saalfeld/workspace/SciView/target/classes/
[SciJava-47ff0e6c-Thread-0] DEBUG JOGLMouseAndKeyHandler - Got back /home/saalfeld/.m2/repository/net/java/jinput/jinput-platform/2.0.7/jinput-platform-2.0.7-natives-linux.jar
[SciJava-47ff0e6c-Thread-0] DEBUG JOGLMouseAndKeyHandler - Extracting /home/saalfeld/.m2/repository/net/java/jinput/jinput-platform/2.0.7/jinput-platform-2.0.7-natives-linux.jar...
[SciJava-47ff0e6c-Thread-0] DEBUG JOGLMouseAndKeyHandler - New java.library.path is /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib:/tmp/spirvcrossj-natives-tmp4331735151735011496:/home/saalfeld/workspace/SciView/src/natives:/tmp/scenery-natives-tmp6735185245047424721
[SciJava-47ff0e6c-Thread-0] DEBUG JOGLMouseAndKeyHandler - java.library.path is now /usr/java/packages/lib/amd64:/usr/lib/x86_64-linux-gnu/jni:/lib/x86_64-linux-gnu:/usr/lib/x86_64-linux-gnu:/usr/lib/jni:/lib:/usr/lib:/tmp/spirvcrossj-natives-tmp4331735151735011496:/home/saalfeld/workspace/SciView/src/natives:/tmp/scenery-natives-tmp6735185245047424721
[SciJava-47ff0e6c-Thread-0] INFO InputHandler - No custom key configuration found, using default keybindings.
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer GeometryBuffer for pass Scene (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment NormalsMaterial, RGBA_Float16
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment DiffuseAlbedo, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment ZBuffer, Depth32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for Scene: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DefaultDeferred.vert.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DefaultDeferred.vert.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 1248 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DefaultDeferred.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - VRParameters, set=0, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 1 for shaders/DefaultDeferred.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - LightParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 2 for shaders/DefaultDeferred.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Matrices, set=2, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultDeferred.vert.spv: vertexPosition
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultDeferred.vert.spv: vertexNormal
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultDeferred.vert.spv: vertexTexCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 283 with start index 113
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 460 with start index 283
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 627 with start index 460
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Removing layout qualifier from interface block output
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 715 with start index 647
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 760 with start index 735
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 803 with start index 780
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DefaultDeferred.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DefaultDeferred.frag.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 979 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DefaultDeferred.frag.spv (size: 1/1)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - MaterialProperties, set=3, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultDeferred.frag.spv: VertexData
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 238 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 326 with start index 238
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 365 with start index 326
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 410 with start index 385
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 457 with start index 430
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Removing layout qualifier from interface block input
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderModule - Shader compilation log:
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderModule - GLShader [mShaderId=2, mShaderType=FragmentShader]:
0:40(62): warning: `DiffuseAlbedo' used uninitialized
0:44(25): warning: `NormalsMaterial' used uninitialized
0:44(44): warning: `NormalsMaterial' used uninitialized
0:73(14): warning: `_310' used uninitialized
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer DSSDOTemp1 for pass DSSDO (256x256)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Occlusion, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DSSDO: 256x256
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/FullscreenQuad.vert.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/FullscreenQuad.vert.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 288 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DSSDO.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Recompiling shaders/DSSDO.frag.spv, as source file is newer than SPV file.
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DSSDO.frag...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Compiling shaders/DSSDO.frag to SPIR-V...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 3532 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DSSDO.frag (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - VRParameters, set=0, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 1 for shaders/DSSDO.frag (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - LightParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 2 for shaders/DSSDO.frag (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - ShaderParameters, set=2, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DSSDO.frag.spv: textureCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 283 with start index 113
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 460 with start index 283
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Replacing set = 2, binding = 0, std140)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 695 with start index 475
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 736 with start index 695
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 770 with start index 736
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 811 with start index 790
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer DSSDOTemp2 for pass DSSDOBlurV (256x256)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Occlusion, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DSSDOBlurV: 256x256
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DSSDOBlur.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DSSDOBlur.frag.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 2263 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DSSDOBlur.frag.spv (size: 1/1)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - ShaderParameters, set=0, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DSSDOBlur.frag.spv: textureCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Replacing binding = 0, std140)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 228 with start index 128
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 269 with start index 228
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 305 with start index 269
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 346 with start index 325
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderModule - Shader compilation log:
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderModule - GLShader [mShaderId=7, mShaderType=FragmentShader]:
0:37(14): warning: `_980' used uninitialized
0:46(14): warning: `_981' used uninitialized
0:61(14): warning: `_980' used uninitialized
0:70(14): warning: `_981' used uninitialized
0:84(14): warning: `_980' used uninitialized
0:93(14): warning: `_981' used uninitialized
0:107(14): warning: `_980' used uninitialized
0:116(14): warning: `_981' used uninitialized
0:130(14): warning: `_980' used uninitialized
0:139(14): warning: `_981' used uninitialized
0:153(14): warning: `_980' used uninitialized
0:162(14): warning: `_981' used uninitialized
0:176(14): warning: `_980' used uninitialized
0:185(14): warning: `_981' used uninitialized
0:199(14): warning: `_980' used uninitialized
0:208(14): warning: `_981' used uninitialized
0:222(14): warning: `_980' used uninitialized
0:231(14): warning: `_981' used uninitialized
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer DSSDOBuffer for pass DSSDOBlurH (256x256)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Occlusion, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DSSDOBlurH: 256x256
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer ForwardBuffer for pass DeferredLighting (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Color, RGBA_Float32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DeferredLighting: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DeferredLighting.vert.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DeferredLighting.vert.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 1259 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DeferredLighting.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - VRParameters, set=0, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 1 for shaders/DeferredLighting.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - LightParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 2 for shaders/DeferredLighting.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Matrices, set=2, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DeferredLighting.vert.spv: vertexPosition
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DeferredLighting.vert.spv: vertexNormal
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DeferredLighting.vert.spv: vertexTexCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 283 with start index 113
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 460 with start index 283
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 627 with start index 460
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Removing layout qualifier from interface block output
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 734 with start index 647
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 779 with start index 754
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 822 with start index 799
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DeferredLighting.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Recompiling shaders/DeferredLighting.frag.spv, as source file is newer than SPV file.
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DeferredLighting.frag...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Compiling shaders/DeferredLighting.frag to SPIR-V...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 5806 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DeferredLighting.frag (size: 4/4)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - VRParameters, set=0, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 1 for shaders/DeferredLighting.frag (size: 4/4)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - LightParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 2 for shaders/DeferredLighting.frag (size: 4/4)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - ShaderParameters, set=6, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 3 for shaders/DeferredLighting.frag (size: 4/4)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - ShaderProperties, set=5, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DeferredLighting.frag.spv: VertexData
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 283 with start index 113
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 461 with start index 283
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Replacing set = 6, binding = 0, std140)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 604 with start index 476
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Replacing set = 5, binding = 0, std140)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 839 with start index 619
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 880 with start index 839
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 919 with start index 880
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 952 with start index 919
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 988 with start index 952
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 1029 with start index 1008
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Removing layout qualifier from interface block input
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - There was an issue linking the following shaders:
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - Error produced: GLProgram [mGL=jogamp.opengl.gl4.GL4bcImpl@5796126e, mProgramId=12]
----
Code:
null:
GLShader [mShaderId=11, mShaderType=FragmentShader]null:
GLShader [mShaderId=10, mShaderType=VertexShader]
error: definitions of interface block `VertexData' do not match
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - FragmentShader: #version 410 core
#extension GL_ARB_separate_shader_objects : require
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif
uniform VRParameters
{
mat4 projectionMatrices[2];
mat4 inverseProjectionMatrices[2];
mat4 headShift;
float IPD;
int stereoEnabled;
} vrParameters;
uniform LightParameters
{
mat4 ViewMatrices[2];
mat4 InverseViewMatrices[2];
mat4 ProjectionMatrix;
mat4 InverseProjectionMatrix;
vec3 CamPosition;
} _264;
layout(std140) uniform ShaderParameters
{
int debugLights;
int reflectanceModel;
int displayWidth;
int displayHeight;
} _431;
layout(std140) uniform ShaderProperties
{
float intensity;
float lightRadius;
int debugMode;
vec3 worldPosition;
vec3 emissionColor;
} _529;
struct currentEye_t
{
int eye;
};
uniform currentEye_t currentEye;
uniform sampler2D InputNormalsMaterial;
uniform sampler2D InputDiffuseAlbedo;
uniform sampler2D InputZBuffer;
uniform sampler2D InputOcclusion;
layout(location = 0) out vec4 FragColor;
in VertexData
{
vec3 FragPosition;
vec3 Normal;
vec2 TexCoord;
} Vertex;
float _368;
float _386;
vec2 OctWrap(vec2 v)
{
vec2 ret;
ret.x = (1.0 - abs(v.y)) * ((v.x >= 0.0) ? 1.0 : (-1.0));
ret.y = (1.0 - abs(v.x)) * ((v.y >= 0.0) ? 1.0 : (-1.0));
return ret;
}
vec3 DecodeOctaH(inout vec2 encN)
{
encN = (encN * 2.0) - vec2(1.0);
vec3 n;
n.z = (1.0 - abs(encN.x)) - abs(encN.y);
vec2 _198;
if (n.z >= 0.0)
{
_198 = encN;
}
else
{
vec2 param = encN;
_198 = OctWrap(param);
}
n = vec3(_198.x, _198.y, n.z);
n = normalize(n);
return n;
}
vec3 worldFromDepth(float depth, vec2 texcoord)
{
vec2 uv = (texcoord * float(vrParameters.stereoEnabled ^ 1)) + (vec2((texcoord.x - (0.5 * float(currentEye.eye))) * 2.0, texcoord.y) * float(vrParameters.stereoEnabled));
mat4 _269 = _264.InverseProjectionMatrix * float(vrParameters.stereoEnabled ^ 1);
mat4 _277 = vrParameters.inverseProjectionMatrices[currentEye.eye] * float(vrParameters.stereoEnabled);
mat4 invProjection = mat4(_269[0] + _277[0], _269[1] + _277[1], _269[2] + _277[2], _269[3] + _277[3]);
mat4 _298 = _264.InverseViewMatrices[0] * float(vrParameters.stereoEnabled ^ 1);
mat4 _306 = _264.InverseViewMatrices[currentEye.eye] * float(vrParameters.stereoEnabled);
mat4 invView = mat4(_298[0] + _306[0], _298[1] + _306[1], _298[2] + _306[2], _298[3] + _306[3]);
vec4 clipSpacePosition = vec4((uv * 2.0) - vec2(1.0), (depth * 2.0) - 1.0, 1.0);
vec4 viewSpacePosition = invProjection * clipSpacePosition;
viewSpacePosition /= vec4(viewSpacePosition.w);
vec4 world = invView * viewSpacePosition;
return world.xyz;
}
vec2 alphabeta(float NdotL, float NdotV)
{
vec2 ab = vec2(0.0);
if (abs(NdotL) > abs(NdotV))
{
ab = vec2(sqrt(max(0.0, 1.0 - NdotV)), sqrt(max(0.0, 1.0 - NdotL) / abs(NdotL)));
}
else
{
ab = vec2(sqrt(max(0.0, 1.0 - NdotL)), sqrt(max(0.0, 1.0 - NdotV) / abs(NdotV)));
}
return ab;
}
float CosPhi(float Ndotw, vec3 w)
{
float SinTheta = sqrt(max(0.0, 1.0 - Ndotw));
if (Ndotw < 9.9999997473787516355514526367188e-05)
{
return 1.0;
}
else
{
return clamp(w.x / SinTheta, -1.0, 1.0);
}
}
float SinPhi(float Ndotw, vec3 w)
{
float SinTheta = sqrt(max(0.0, 1.0 - Ndotw));
if (Ndotw < 9.9999997473787516355514526367188e-05)
{
return 0.0;
}
else
{
return clamp(w.y / SinTheta, -1.0, 1.0);
}
}
float GGXDistribution(vec3 normal, vec3 halfway, float roughness)
{
float a = roughness * roughness;
float aSquared = a * a;
float NdotH = abs(dot(normal, halfway));
float NdotH2 = NdotH * NdotH;
float denom = (NdotH2 * (aSquared - 1.0)) + 1.0;
return aSquared / ((denom * denom) * 3.1415927410125732421875);
}
float GeometrySchlick(float NdotV, float roughness)
{
float r = roughness + 1.0;
float k = (r * r) / 8.0;
return NdotV / ((NdotV * (1.0 - k)) + k);
}
float GeometrySmith(vec3 normal, vec3 view, vec3 light, float roughness)
{
float NdotV = abs(dot(normal, view));
float NdotL = abs(dot(normal, light));
float param = NdotV;
float param_1 = roughness;
float param_2 = NdotL;
float param_3 = roughness;
return GeometrySchlick(param, param_1) * GeometrySchlick(param_2, param_3);
}
vec3 FresnelSchlick(float cosTheta, vec3 F0)
{
return F0 + ((vec3(1.0) - F0) * pow(1.0 - cosTheta, 5.0));
}
void main()
{
vec2 textureCoord = gl_FragCoord.xy / vec2(float(_431.displayWidth), float(_431.displayHeight));
vec2 param = texture(InputNormalsMaterial, textureCoord).xy;
vec3 _451 = DecodeOctaH(param);
vec3 N = _451;
vec4 Albedo = texture(InputDiffuseAlbedo, textureCoord);
float Specular = texture(InputDiffuseAlbedo, textureCoord).w;
vec2 MaterialParams = texture(InputNormalsMaterial, textureCoord).zw;
float Depth = texture(InputZBuffer, textureCoord).x;
float param_1 = Depth;
vec2 param_2 = textureCoord;
vec3 FragPos = worldFromDepth(param_1, param_2);
vec4 ambientOcclusion = texture(InputOcclusion, textureCoord);
mat4 headToEye = vrParameters.headShift;
headToEye[3].x = float(-currentEye.eye) * vrParameters.IPD;
vec3 cameraPosition = (_264.CamPosition * float(vrParameters.stereoEnabled ^ 1)) + ((headToEye * vec4(_264.CamPosition, 1.0)).xyz * float(vrParameters.stereoEnabled));
float fragDist = length(FragPos - cameraPosition);
vec3 lighting = vec3(0.0);
vec3 L = _529.worldPosition - FragPos;
float _distance = length(L);
L = normalize(L);
vec3 V = normalize(cameraPosition - FragPos);
vec3 H = normalize(L + V);
float lightAttenuation = pow(clamp(1.0 - pow(_distance / _529.lightRadius, 4.0), 0.0, 1.0), 2.0) / ((_distance * _distance) + 1.0);
if (_431.debugLights == 1)
{
FragColor = vec4(_distance, _distance, _distance, 1.0);
return;
}
if (_431.debugLights == 2)
{
FragColor = vec4(FragPos, 1.0);
return;
}
if (_431.reflectanceModel == 1)
{
float NdotL = max(0.0, dot(N, L));
vec3 specular = vec3(0.0);
vec3 R = reflect(-L, N);
float NdotR = max(0.0, dot(R, V));
float NdotH = max(0.0, dot(N, H));
vec3 diffuse = ((Albedo.xyz * (NdotL * _529.intensity)) * _529.emissionColor) * ambientOcclusion.xyz;
if (NdotL > 0.0)
{
specular = ((Albedo.xyz * pow(NdotH, (1.0 - Specular) * 4.0)) * _529.emissionColor) * _529.intensity;
}
lighting += ((diffuse + specular) * lightAttenuation);
}
else
{
if (_431.reflectanceModel == 0)
{
vec3 diffuse_1 = vec3(0.0);
vec3 specular_1 = vec3(0.0);
float roughness = (MaterialParams.x * 3.1415927410125732421875) / 2.0;
float LdotV = max(dot(L, V), 0.0);
float NdotL_1 = max(dot(L, N), 0.0);
float NdotV = max(dot(N, V), 0.0);
float sigma2 = roughness * roughness;
float A = 1.0 - (sigma2 / (2.0 * (sigma2 + 0.3300000131130218505859375)));
float B = (0.449999988079071044921875 * sigma2) / (sigma2 + 0.0900000035762786865234375);
float param_3 = NdotL_1;
float param_4 = NdotV;
vec2 ab = alphabeta(param_3, param_4);
float param_5 = NdotL_1;
vec3 param_6 = L;
float param_7 = NdotV;
vec3 param_8 = V;
float param_9 = NdotL_1;
vec3 param_10 = L;
float param_11 = NdotV;
vec3 param_12 = V;
float m = max(0.0, (CosPhi(param_5, param_6) * CosPhi(param_7, param_8)) + (SinPhi(param_9, param_10) * CosPhi(param_11, param_12)));
float L1 = (NdotL_1 / 3.1415927410125732421875) * (A + (((B * m) * ab.x) * ab.y));
float lightOcclusion = 1.0 - clamp(dot(vec4(-L, 1.0), ambientOcclusion * 2.0), 0.0, 1.0);
vec3 inputColor = ((_529.emissionColor * _529.intensity) * Albedo.xyz) * lightOcclusion;
diffuse_1 = inputColor * L1;
float _772 = Specular;
bool _773 = _772 > 0.0;
bool _780;
if (!_773)
{
_780 = MaterialParams.y > 0.0;
}
else
{
_780 = _773;
}
if (_780)
{
float metallic = MaterialParams.y;
vec3 F0 = vec3(0.039999999105930328369140625);
F0 = mix(F0, Albedo.xyz, vec3(metallic));
float roughness_1 = MaterialParams.x;
vec3 param_13 = N;
vec3 param_14 = H;
float param_15 = roughness_1;
float NDF = GGXDistribution(param_13, param_14, param_15);
vec3 param_16 = N;
vec3 param_17 = V;
vec3 param_18 = L;
float param_19 = roughness_1;
float G = GeometrySmith(param_16, param_17, param_18, param_19);
float param_20 = max(dot(H, V), 0.0);
vec3 param_21 = F0;
vec3 F = FresnelSchlick(param_20, param_21);
vec3 BRDF = (F * (NDF * G)) / vec3(max((4.0 * abs(dot(N, V))) * abs(dot(N, L)), 0.001000000047497451305389404296875));
vec3 kS = F;
vec3 kD = vec3(1.0) - kS;
kD *= (1.0 - metallic);
vec3 radiance = _529.emissionColor * _529.intensity;
specular_1 = ((((kD * Albedo.xyz) / vec3(3.1415927410125732421875)) + BRDF) * radiance) * NdotL_1;
}
if (_431.debugLights == 3)
{
lighting += (specular_1 * lightAttenuation);
}
if (_431.debugLights == 4)
{
lighting += (diffuse_1 * lightAttenuation);
}
if (_431.debugLights == 5)
{
lighting += ambientOcclusion.xyz;
}
if (_431.debugLights == 6)
{
lighting += vec3(lightOcclusion);
}
if (_431.debugLights == 7)
{
lighting = N;
}
else
{
lighting += ((diffuse_1 + specular_1) * lightAttenuation);
}
}
}
FragColor = vec4(lighting, 1.0);
gl_FragDepth = Depth;
}
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - VertexShader: #version 410 core
#extension GL_ARB_separate_shader_objects : require
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif
uniform VRParameters
{
mat4 projectionMatrices[2];
mat4 inverseProjectionMatrices[2];
mat4 headShift;
float IPD;
int stereoEnabled;
} vrParameters;
uniform LightParameters
{
mat4 ViewMatrices[2];
mat4 InverseViewMatrices[2];
mat4 ProjectionMatrix;
mat4 InverseProjectionMatrix;
vec3 CamPosition;
} _31;
uniform Matrices
{
mat4 ModelMatrix;
mat4 NormalMatrix;
int isBillboard;
} ubo;
struct currentEye_t
{
int eye;
};
uniform currentEye_t currentEye;
out VertexData
{
vec3 Position;
vec3 Normal;
vec2 TexCoord;
vec3 FragPosition;
} Vertex;
layout(location = 0) in vec3 vertexPosition;
layout(location = 1) in vec3 vertexNormal;
layout(location = 2) in vec2 vertexTexCoord;
void main()
{
float _25 = float(vrParameters.stereoEnabled ^ 1);
mat4 _42 = (_31.ViewMatrices[0] * _25) * ubo.ModelMatrix;
float _45 = float(vrParameters.stereoEnabled);
mat4 _57 = (_31.ViewMatrices[currentEye.eye] * _45) * ubo.ModelMatrix;
mat4 _70 = mat4(_42[0] + _57[0], _42[1] + _57[1], _42[2] + _57[2], _42[3] + _57[3]);
mat4 _79 = _31.ProjectionMatrix * _25;
mat4 _87 = vrParameters.projectionMatrices[currentEye.eye] * _45;
mat4 _208;
if (ubo.isBillboard > 0)
{
mat4 _191 = _70;
_191[0].x = 1.0;
mat4 _193 = _191;
_193[0].y = 0.0;
mat4 _195 = _193;
_195[0].z = 0.0;
mat4 _197 = _195;
_197[1].x = 0.0;
mat4 _199 = _197;
_199[1].y = 1.0;
mat4 _201 = _199;
_201[1].z = 0.0;
mat4 _203 = _201;
_203[2].x = 0.0;
mat4 _205 = _203;
_205[2].y = 0.0;
mat4 _207 = _205;
_207[2].z = 1.0;
_208 = _207;
}
else
{
_208 = _70;
}
vec4 _138 = vec4(vertexPosition, 1.0);
Vertex.FragPosition = vec3((ubo.ModelMatrix * _138).xyz);
Vertex.Normal = mat3(vec3(ubo.NormalMatrix[0].x, ubo.NormalMatrix[0].y, ubo.NormalMatrix[0].z), vec3(ubo.NormalMatrix[1].x, ubo.NormalMatrix[1].y, ubo.NormalMatrix[1].z), vec3(ubo.NormalMatrix[2].x, ubo.NormalMatrix[2].y, ubo.NormalMatrix[2].z)) * normalize(vertexNormal);
Vertex.TexCoord = vertexTexCoord;
gl_Position = mat4(_79[0] + _87[0], _79[1] + _87[1], _79[2] + _87[2], _79[3] + _87[3]) * (_208 * _138);
}
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] ERROR OpenGLShaderProgram - An error occured during linking.
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer HDRBuffer for pass ForwardShading (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Color, RGBA_Float32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Depth, Depth32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for ForwardShading: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DefaultForward.vert.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DefaultForward.vert.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 1279 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DefaultForward.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - VRParameters, set=0, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 1 for shaders/DefaultForward.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - LightParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 2 for shaders/DefaultForward.vert.spv (size: 3/3)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Matrices, set=2, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultForward.vert.spv: vertexNormal
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultForward.vert.spv: vertexTexCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultForward.vert.spv: vertexPosition
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 283 with start index 113
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 460 with start index 283
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 627 with start index 460
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Removing layout qualifier from interface block output
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 734 with start index 647
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 777 with start index 754
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 822 with start index 797
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/DefaultForward.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/DefaultForward.frag.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 538 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/DefaultForward.frag.spv (size: 1/1)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - MaterialProperties, set=3, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/DefaultForward.frag.spv: VertexData
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 218 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting location-based struct to regular struct
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 305 with start index 218
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 344 with start index 305
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Removing layout qualifier from interface block input
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 450 with start index 364
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer FXAABuffer for pass HDR (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Color, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for HDR: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/HDR.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/HDR.frag.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 680 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/HDR.frag.spv (size: 1/1)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - ShaderParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/HDR.frag.spv: textureCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Replacing set = 1, binding = 0, std140)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 257 with start index 128
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 289 with start index 257
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 332 with start index 309
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer Viewport for pass FXAA (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for FXAA: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating OpenGLShaderModule main, shaders/FXAA.frag.spv
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLShaderModule - Reading shader from shaders/FXAA.frag.spv...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Emitted 1168 SPIR-V opcodes
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Creating GLSL compiler ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Got compiler
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Analysing uniform buffers ...
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Getting 0 for shaders/FXAA.frag.spv (size: 1/1)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - ShaderParameters, set=1, binding=0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - shaders/FXAA.frag.spv: textureCoord
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 113 with start index 0
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Replacing set = 1, binding = 0, std140)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 366 with start index 128
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Converting sampler UBO to uniform
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 398 with start index 366
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching input layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Found match at 441 with start index 418
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderModule - Not touching output layouts
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderModule - Shader compilation log:
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderModule - GLShader [mShaderId=18, mShaderType=FragmentShader]:
0:57(14): warning: `_311' used uninitialized
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Shader properties are: null
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Shader properties are: null
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Initialized 1 textures
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer GeometryBuffer for pass Scene (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment NormalsMaterial, RGBA_Float16
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment DiffuseAlbedo, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment ZBuffer, Depth32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for Scene: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer DSSDOTemp1 for pass DSSDO (256x256)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Occlusion, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DSSDO: 256x256
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer DSSDOTemp2 for pass DSSDOBlurV (256x256)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Occlusion, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DSSDOBlurV: 256x256
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[Timer-3] DEBUG OpenGLRenderer - Resizing window to 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer DSSDOBuffer for pass DSSDOBlurH (256x256)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Occlusion, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DSSDOBlurH: 256x256
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer ForwardBuffer for pass DeferredLighting (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Color, RGBA_Float32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for DeferredLighting: 512x512
this is scenery.
Standard library imported.
Try scene.addChild(a = new Box(new GLVector(4.0, 4.0, 4.0)))
------------------------------------------------------------
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - There was an issue linking the following shaders:
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - Error produced: GLProgram [mGL=jogamp.opengl.gl4.GL4bcImpl@5796126e, mProgramId=24]
----
Code:
null:
GLShader [mShaderId=11, mShaderType=FragmentShader]null:
GLShader [mShaderId=10, mShaderType=VertexShader]
error: definitions of interface block `VertexData' do not match
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - FragmentShader: #version 410 core
#extension GL_ARB_separate_shader_objects : require
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif
uniform VRParameters
{
mat4 projectionMatrices[2];
mat4 inverseProjectionMatrices[2];
mat4 headShift;
float IPD;
int stereoEnabled;
} vrParameters;
uniform LightParameters
{
mat4 ViewMatrices[2];
mat4 InverseViewMatrices[2];
mat4 ProjectionMatrix;
mat4 InverseProjectionMatrix;
vec3 CamPosition;
} _264;
layout(std140) uniform ShaderParameters
{
int debugLights;
int reflectanceModel;
int displayWidth;
int displayHeight;
} _431;
layout(std140) uniform ShaderProperties
{
float intensity;
float lightRadius;
int debugMode;
vec3 worldPosition;
vec3 emissionColor;
} _529;
struct currentEye_t
{
int eye;
};
uniform currentEye_t currentEye;
uniform sampler2D InputNormalsMaterial;
uniform sampler2D InputDiffuseAlbedo;
uniform sampler2D InputZBuffer;
uniform sampler2D InputOcclusion;
layout(location = 0) out vec4 FragColor;
in VertexData
{
vec3 FragPosition;
vec3 Normal;
vec2 TexCoord;
} Vertex;
float _368;
float _386;
vec2 OctWrap(vec2 v)
{
vec2 ret;
ret.x = (1.0 - abs(v.y)) * ((v.x >= 0.0) ? 1.0 : (-1.0));
ret.y = (1.0 - abs(v.x)) * ((v.y >= 0.0) ? 1.0 : (-1.0));
return ret;
}
vec3 DecodeOctaH(inout vec2 encN)
{
encN = (encN * 2.0) - vec2(1.0);
vec3 n;
n.z = (1.0 - abs(encN.x)) - abs(encN.y);
vec2 _198;
if (n.z >= 0.0)
{
_198 = encN;
}
else
{
vec2 param = encN;
_198 = OctWrap(param);
}
n = vec3(_198.x, _198.y, n.z);
n = normalize(n);
return n;
}
vec3 worldFromDepth(float depth, vec2 texcoord)
{
vec2 uv = (texcoord * float(vrParameters.stereoEnabled ^ 1)) + (vec2((texcoord.x - (0.5 * float(currentEye.eye))) * 2.0, texcoord.y) * float(vrParameters.stereoEnabled));
mat4 _269 = _264.InverseProjectionMatrix * float(vrParameters.stereoEnabled ^ 1);
mat4 _277 = vrParameters.inverseProjectionMatrices[currentEye.eye] * float(vrParameters.stereoEnabled);
mat4 invProjection = mat4(_269[0] + _277[0], _269[1] + _277[1], _269[2] + _277[2], _269[3] + _277[3]);
mat4 _298 = _264.InverseViewMatrices[0] * float(vrParameters.stereoEnabled ^ 1);
mat4 _306 = _264.InverseViewMatrices[currentEye.eye] * float(vrParameters.stereoEnabled);
mat4 invView = mat4(_298[0] + _306[0], _298[1] + _306[1], _298[2] + _306[2], _298[3] + _306[3]);
vec4 clipSpacePosition = vec4((uv * 2.0) - vec2(1.0), (depth * 2.0) - 1.0, 1.0);
vec4 viewSpacePosition = invProjection * clipSpacePosition;
viewSpacePosition /= vec4(viewSpacePosition.w);
vec4 world = invView * viewSpacePosition;
return world.xyz;
}
vec2 alphabeta(float NdotL, float NdotV)
{
vec2 ab = vec2(0.0);
if (abs(NdotL) > abs(NdotV))
{
ab = vec2(sqrt(max(0.0, 1.0 - NdotV)), sqrt(max(0.0, 1.0 - NdotL) / abs(NdotL)));
}
else
{
ab = vec2(sqrt(max(0.0, 1.0 - NdotL)), sqrt(max(0.0, 1.0 - NdotV) / abs(NdotV)));
}
return ab;
}
float CosPhi(float Ndotw, vec3 w)
{
float SinTheta = sqrt(max(0.0, 1.0 - Ndotw));
if (Ndotw < 9.9999997473787516355514526367188e-05)
{
return 1.0;
}
else
{
return clamp(w.x / SinTheta, -1.0, 1.0);
}
}
float SinPhi(float Ndotw, vec3 w)
{
float SinTheta = sqrt(max(0.0, 1.0 - Ndotw));
if (Ndotw < 9.9999997473787516355514526367188e-05)
{
return 0.0;
}
else
{
return clamp(w.y / SinTheta, -1.0, 1.0);
}
}
float GGXDistribution(vec3 normal, vec3 halfway, float roughness)
{
float a = roughness * roughness;
float aSquared = a * a;
float NdotH = abs(dot(normal, halfway));
float NdotH2 = NdotH * NdotH;
float denom = (NdotH2 * (aSquared - 1.0)) + 1.0;
return aSquared / ((denom * denom) * 3.1415927410125732421875);
}
float GeometrySchlick(float NdotV, float roughness)
{
float r = roughness + 1.0;
float k = (r * r) / 8.0;
return NdotV / ((NdotV * (1.0 - k)) + k);
}
float GeometrySmith(vec3 normal, vec3 view, vec3 light, float roughness)
{
float NdotV = abs(dot(normal, view));
float NdotL = abs(dot(normal, light));
float param = NdotV;
float param_1 = roughness;
float param_2 = NdotL;
float param_3 = roughness;
return GeometrySchlick(param, param_1) * GeometrySchlick(param_2, param_3);
}
vec3 FresnelSchlick(float cosTheta, vec3 F0)
{
return F0 + ((vec3(1.0) - F0) * pow(1.0 - cosTheta, 5.0));
}
void main()
{
vec2 textureCoord = gl_FragCoord.xy / vec2(float(_431.displayWidth), float(_431.displayHeight));
vec2 param = texture(InputNormalsMaterial, textureCoord).xy;
vec3 _451 = DecodeOctaH(param);
vec3 N = _451;
vec4 Albedo = texture(InputDiffuseAlbedo, textureCoord);
float Specular = texture(InputDiffuseAlbedo, textureCoord).w;
vec2 MaterialParams = texture(InputNormalsMaterial, textureCoord).zw;
float Depth = texture(InputZBuffer, textureCoord).x;
float param_1 = Depth;
vec2 param_2 = textureCoord;
vec3 FragPos = worldFromDepth(param_1, param_2);
vec4 ambientOcclusion = texture(InputOcclusion, textureCoord);
mat4 headToEye = vrParameters.headShift;
headToEye[3].x = float(-currentEye.eye) * vrParameters.IPD;
vec3 cameraPosition = (_264.CamPosition * float(vrParameters.stereoEnabled ^ 1)) + ((headToEye * vec4(_264.CamPosition, 1.0)).xyz * float(vrParameters.stereoEnabled));
float fragDist = length(FragPos - cameraPosition);
vec3 lighting = vec3(0.0);
vec3 L = _529.worldPosition - FragPos;
float _distance = length(L);
L = normalize(L);
vec3 V = normalize(cameraPosition - FragPos);
vec3 H = normalize(L + V);
float lightAttenuation = pow(clamp(1.0 - pow(_distance / _529.lightRadius, 4.0), 0.0, 1.0), 2.0) / ((_distance * _distance) + 1.0);
if (_431.debugLights == 1)
{
FragColor = vec4(_distance, _distance, _distance, 1.0);
return;
}
if (_431.debugLights == 2)
{
FragColor = vec4(FragPos, 1.0);
return;
}
if (_431.reflectanceModel == 1)
{
float NdotL = max(0.0, dot(N, L));
vec3 specular = vec3(0.0);
vec3 R = reflect(-L, N);
float NdotR = max(0.0, dot(R, V));
float NdotH = max(0.0, dot(N, H));
vec3 diffuse = ((Albedo.xyz * (NdotL * _529.intensity)) * _529.emissionColor) * ambientOcclusion.xyz;
if (NdotL > 0.0)
{
specular = ((Albedo.xyz * pow(NdotH, (1.0 - Specular) * 4.0)) * _529.emissionColor) * _529.intensity;
}
lighting += ((diffuse + specular) * lightAttenuation);
}
else
{
if (_431.reflectanceModel == 0)
{
vec3 diffuse_1 = vec3(0.0);
vec3 specular_1 = vec3(0.0);
float roughness = (MaterialParams.x * 3.1415927410125732421875) / 2.0;
float LdotV = max(dot(L, V), 0.0);
float NdotL_1 = max(dot(L, N), 0.0);
float NdotV = max(dot(N, V), 0.0);
float sigma2 = roughness * roughness;
float A = 1.0 - (sigma2 / (2.0 * (sigma2 + 0.3300000131130218505859375)));
float B = (0.449999988079071044921875 * sigma2) / (sigma2 + 0.0900000035762786865234375);
float param_3 = NdotL_1;
float param_4 = NdotV;
vec2 ab = alphabeta(param_3, param_4);
float param_5 = NdotL_1;
vec3 param_6 = L;
float param_7 = NdotV;
vec3 param_8 = V;
float param_9 = NdotL_1;
vec3 param_10 = L;
float param_11 = NdotV;
vec3 param_12 = V;
float m = max(0.0, (CosPhi(param_5, param_6) * CosPhi(param_7, param_8)) + (SinPhi(param_9, param_10) * CosPhi(param_11, param_12)));
float L1 = (NdotL_1 / 3.1415927410125732421875) * (A + (((B * m) * ab.x) * ab.y));
float lightOcclusion = 1.0 - clamp(dot(vec4(-L, 1.0), ambientOcclusion * 2.0), 0.0, 1.0);
vec3 inputColor = ((_529.emissionColor * _529.intensity) * Albedo.xyz) * lightOcclusion;
diffuse_1 = inputColor * L1;
float _772 = Specular;
bool _773 = _772 > 0.0;
bool _780;
if (!_773)
{
_780 = MaterialParams.y > 0.0;
}
else
{
_780 = _773;
}
if (_780)
{
float metallic = MaterialParams.y;
vec3 F0 = vec3(0.039999999105930328369140625);
F0 = mix(F0, Albedo.xyz, vec3(metallic));
float roughness_1 = MaterialParams.x;
vec3 param_13 = N;
vec3 param_14 = H;
float param_15 = roughness_1;
float NDF = GGXDistribution(param_13, param_14, param_15);
vec3 param_16 = N;
vec3 param_17 = V;
vec3 param_18 = L;
float param_19 = roughness_1;
float G = GeometrySmith(param_16, param_17, param_18, param_19);
float param_20 = max(dot(H, V), 0.0);
vec3 param_21 = F0;
vec3 F = FresnelSchlick(param_20, param_21);
vec3 BRDF = (F * (NDF * G)) / vec3(max((4.0 * abs(dot(N, V))) * abs(dot(N, L)), 0.001000000047497451305389404296875));
vec3 kS = F;
vec3 kD = vec3(1.0) - kS;
kD *= (1.0 - metallic);
vec3 radiance = _529.emissionColor * _529.intensity;
specular_1 = ((((kD * Albedo.xyz) / vec3(3.1415927410125732421875)) + BRDF) * radiance) * NdotL_1;
}
if (_431.debugLights == 3)
{
lighting += (specular_1 * lightAttenuation);
}
if (_431.debugLights == 4)
{
lighting += (diffuse_1 * lightAttenuation);
}
if (_431.debugLights == 5)
{
lighting += ambientOcclusion.xyz;
}
if (_431.debugLights == 6)
{
lighting += vec3(lightOcclusion);
}
if (_431.debugLights == 7)
{
lighting = N;
}
else
{
lighting += ((diffuse_1 + specular_1) * lightAttenuation);
}
}
}
FragColor = vec4(lighting, 1.0);
gl_FragDepth = Depth;
}
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] WARN OpenGLShaderProgram - VertexShader: #version 410 core
#extension GL_ARB_separate_shader_objects : require
#ifdef GL_ARB_shading_language_420pack
#extension GL_ARB_shading_language_420pack : require
#endif
uniform VRParameters
{
mat4 projectionMatrices[2];
mat4 inverseProjectionMatrices[2];
mat4 headShift;
float IPD;
int stereoEnabled;
} vrParameters;
uniform LightParameters
{
mat4 ViewMatrices[2];
mat4 InverseViewMatrices[2];
mat4 ProjectionMatrix;
mat4 InverseProjectionMatrix;
vec3 CamPosition;
} _31;
uniform Matrices
{
mat4 ModelMatrix;
mat4 NormalMatrix;
int isBillboard;
} ubo;
struct currentEye_t
{
int eye;
};
uniform currentEye_t currentEye;
out VertexData
{
vec3 Position;
vec3 Normal;
vec2 TexCoord;
vec3 FragPosition;
} Vertex;
layout(location = 0) in vec3 vertexPosition;
layout(location = 1) in vec3 vertexNormal;
layout(location = 2) in vec2 vertexTexCoord;
void main()
{
float _25 = float(vrParameters.stereoEnabled ^ 1);
mat4 _42 = (_31.ViewMatrices[0] * _25) * ubo.ModelMatrix;
float _45 = float(vrParameters.stereoEnabled);
mat4 _57 = (_31.ViewMatrices[currentEye.eye] * _45) * ubo.ModelMatrix;
mat4 _70 = mat4(_42[0] + _57[0], _42[1] + _57[1], _42[2] + _57[2], _42[3] + _57[3]);
mat4 _79 = _31.ProjectionMatrix * _25;
mat4 _87 = vrParameters.projectionMatrices[currentEye.eye] * _45;
mat4 _208;
if (ubo.isBillboard > 0)
{
mat4 _191 = _70;
_191[0].x = 1.0;
mat4 _193 = _191;
_193[0].y = 0.0;
mat4 _195 = _193;
_195[0].z = 0.0;
mat4 _197 = _195;
_197[1].x = 0.0;
mat4 _199 = _197;
_199[1].y = 1.0;
mat4 _201 = _199;
_201[1].z = 0.0;
mat4 _203 = _201;
_203[2].x = 0.0;
mat4 _205 = _203;
_205[2].y = 0.0;
mat4 _207 = _205;
_207[2].z = 1.0;
_208 = _207;
}
else
{
_208 = _70;
}
vec4 _138 = vec4(vertexPosition, 1.0);
Vertex.FragPosition = vec3((ubo.ModelMatrix * _138).xyz);
Vertex.Normal = mat3(vec3(ubo.NormalMatrix[0].x, ubo.NormalMatrix[0].y, ubo.NormalMatrix[0].z), vec3(ubo.NormalMatrix[1].x, ubo.NormalMatrix[1].y, ubo.NormalMatrix[1].z), vec3(ubo.NormalMatrix[2].x, ubo.NormalMatrix[2].y, ubo.NormalMatrix[2].z)) * normalize(vertexNormal);
Vertex.TexCoord = vertexTexCoord;
gl_Position = mat4(_79[0] + _87[0], _79[1] + _87[1], _79[2] + _87[2], _79[3] + _87[3]) * (_208 * _138);
}
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] ERROR OpenGLShaderProgram - An error occured during linking.
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer HDRBuffer for pass ForwardShading (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Color, RGBA_Float32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Depth, Depth32
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for ForwardShading: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0] INFO InputHandler - No custom key configuration found, using default keybindings.
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer FXAABuffer for pass HDR (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - + attachment Color, RGBA_UInt8
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for HDR: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] INFO OpenGLRenderer - Creating render framebuffer Viewport for pass FXAA (512x512)
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLRenderer - Render area for FXAA: 512x512
[SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0] DEBUG OpenGLShaderProgram - Creating shader program from FragmentShader, VertexShader
Exception in thread "SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0" com.jogamp.opengl.util.AnimatorBase$UncaughtAnimatorException: com.jogamp.opengl.GLException: Caught KotlinNullPointerException: null on thread SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:92)
at com.jogamp.opengl.util.AnimatorBase.display(AnimatorBase.java:452)
at com.jogamp.opengl.util.FPSAnimator$MainTask.run(FPSAnimator.java:178)
at java.util.TimerThread.mainLoop(Timer.java:555)
at java.util.TimerThread.run(Timer.java:505)
Caused by: com.jogamp.opengl.GLException: Caught KotlinNullPointerException: null on thread SciJava-47ff0e6c-Thread-0-FPSAWTAnimator#00-Timer0
at com.jogamp.opengl.GLException.newGLException(GLException.java:76)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1327)
at jogamp.opengl.GLDrawableHelper.invokeGL(GLDrawableHelper.java:1147)
at com.jogamp.newt.opengl.GLWindow.display(GLWindow.java:759)
at com.jogamp.opengl.util.AWTAnimatorImpl.display(AWTAnimatorImpl.java:81)
... 4 more
Caused by: kotlin.KotlinNullPointerException
at graphics.scenery.backends.opengl.OpenGLRenderer.render(OpenGLRenderer.kt:1479)
at graphics.scenery.backends.opengl.OpenGLRenderer.display(OpenGLRenderer.kt:630)
at jogamp.opengl.GLDrawableHelper.displayImpl(GLDrawableHelper.java:692)
at jogamp.opengl.GLDrawableHelper.display(GLDrawableHelper.java:674)
at jogamp.opengl.GLAutoDrawableBase$2.run(GLAutoDrawableBase.java:443)
at jogamp.opengl.GLDrawableHelper.invokeGLImpl(GLDrawableHelper.java:1293)
... 7 more
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment