OGRECave / ogre

scene-oriented, flexible 3D engine (C++, Python, C#, Java)
https://ogrecave.github.io/ogre/
MIT License
4.03k stars 982 forks source link

Strange problem with Lights in the Samples code from Tutorials. #2281

Closed DebugBSD closed 3 years ago

DebugBSD commented 3 years ago

System Information

Detailled description

Hi,

I'm following the tutorial about Lights, Cameras and Shadows and after trying the first part where I create a Light (PointLight) I see that the picture from my code is not the same as the tutorial and I wonder if I'm doing something wrong or maybe is a problem with my version of ogre. I have Ogre 13.1.1 built in Ubuntu and I have a NVIDIA 960m with the propiertary drivers and working correctly so there is no problem with the 3D support by hardware. In fact, I can play the SampleBrowser without any kind of problem.

Next I show you the picture which I should see in my program: image

And this is the picture I see after building and running the program:

OgreTutorialCapture

So, I don't understand why I have this problem. I don't know if it's a problem with the version of Ogre I have built/installed or maybe is a problem with the sample code from the tutorial.

Please, can anyone help me with this problem? Thank you in advance.

Source Code

The source code I'm using is the source code which is located in $OGRE_DIR/Samples/Tutorials

Ogre.log

Creating resource group General
Creating resource group OgreInternal
Creating resource group OgreAutodetect
SceneManagerFactory for type 'DefaultSceneManager' registered.
Registering ResourceManager for type Material
Registering ResourceManager for type Mesh
Registering ResourceManager for type Skeleton
MovableObjectFactory for type 'ParticleSystem' registered.
ArchiveFactory for type 'FileSystem' registered
ArchiveFactory for type 'Zip' registered
ArchiveFactory for type 'EmbeddedZip' registered
DDS codec registering
ETC codec registering
ASTC codec registering
Registering ResourceManager for type GpuProgram
Registering ResourceManager for type Compositor
MovableObjectFactory for type 'Entity' registered.
MovableObjectFactory for type 'Light' registered.
MovableObjectFactory for type 'BillboardSet' registered.
MovableObjectFactory for type 'ManualObject' registered.
MovableObjectFactory for type 'BillboardChain' registered.
MovableObjectFactory for type 'RibbonTrail' registered.
MovableObjectFactory for type 'StaticGeometry' registered.
MovableObjectFactory for type 'Rectangle2D' registered.
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/RenderSystem_GL.so.13.1
Installing plugin: GL RenderSystem
OpenGL Rendering Subsystem created.
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/RenderSystem_GL3Plus.so.13.1
Installing plugin: GL 3+ RenderSystem
OpenGL 3+ Rendering Subsystem created.
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/RenderSystem_GLES2.so.13.1
Installing plugin: OpenGL ES 2.0 RenderSystem
OpenGL ES 2.x Rendering Subsystem created.
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Plugin_ParticleFX.so.13.1
Installing plugin: ParticleFX
Particle Emitter Type 'Point' registered
Particle Emitter Type 'Box' registered
Particle Emitter Type 'Ellipsoid' registered
Particle Emitter Type 'Cylinder' registered
Particle Emitter Type 'Ring' registered
Particle Emitter Type 'HollowEllipsoid' registered
Particle Affector Type 'LinearForce' registered
Particle Affector Type 'ColourFader' registered
Particle Affector Type 'ColourFader2' registered
Particle Affector Type 'ColourImage' registered
Particle Affector Type 'ColourInterpolator' registered
Particle Affector Type 'Scaler' registered
Particle Affector Type 'Rotator' registered
Particle Affector Type 'DirectionRandomiser' registered
Particle Affector Type 'DeflectorPlane' registered
Particle Affector Type 'TextureAnimator' registered
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Plugin_BSPSceneManager.so.13.1
Installing plugin: BSP Scene Manager
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Codec_STBI.so.13.1
stb_image - v2.27 - public domain image loader
Supported formats: jpeg,jpg,png,bmp,psd,tga,gif,pic,ppm,pgm,hdr
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Plugin_PCZSceneManager.so.13.1
Installing plugin: Portal Connected Zone Scene Manager
PCZone Factory Type 'ZoneType_Default' registered
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Plugin_OctreeZone.so.13.1
Installing plugin: Octree Zone Factory
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Plugin_OctreeSceneManager.so.13.1
Installing plugin: Octree Scene Manager
Plugin successfully installed
Loading library /home/debugg/Projects/SDKs/ogre-13.1.1/lib/OGRE/Plugin_DotScene.so.13.1
Installing plugin: DotScene Loader
Plugin successfully installed
*-*-* OGRE Initialising
*-*-* Version 13.1.1 (Tsathoggua)
OverlayElementFactory for type Panel registered.
OverlayElementFactory for type BorderPanel registered.
OverlayElementFactory for type TextArea registered.
Registering ResourceManager for type Font
CPU Identifier & Features
-------------------------
 *   CPU ID: GenuineIntel: Intel(R) Core(TM) i7-4720HQ CPU @ 2.60GHz
 *          SSE: yes
 *         SSE2: yes
 *         SSE3: yes
 *        SSE41: yes
 *        SSE42: yes
 *          MMX: yes
 *       MMXEXT: yes
 *        3DNOW: no
 *     3DNOWEXT: no
 *         CMOV: yes
 *          TSC: yes
 *INVARIANT TSC: yes
 *          FPU: yes
 *          PRO: yes
 *           HT: no
-------------------------
******************************
*** Starting EGL Subsystem ***
******************************
EGL_VENDOR = NVIDIA
EGL_VERSION = 1.5
EGL_EXTENSIONS = EGL_EXT_platform_base EGL_EXT_device_base EGL_EXT_device_enumeration EGL_EXT_device_query EGL_KHR_client_get_all_proc_addresses EGL_EXT_client_extensions EGL_KHR_debug EGL_KHR_platform_x11 EGL_EXT_platform_x11 EGL_EXT_platform_device EGL_EXT_platform_wayland EGL_KHR_platform_wayland EGL_MESA_platform_xcb EGL_MESA_platform_gbm EGL_KHR_platform_gbm EGL_MESA_platform_surfaceless EGL_EXT_buffer_age EGL_EXT_client_sync EGL_EXT_create_context_robustness EGL_EXT_image_dma_buf_import EGL_EXT_image_dma_buf_import_modifiers EGL_MESA_image_dma_buf_export EGL_EXT_output_base EGL_EXT_stream_acquire_mode EGL_EXT_sync_reuse EGL_IMG_context_priority EGL_KHR_config_attribs EGL_KHR_create_context_no_error EGL_KHR_context_flush_control EGL_KHR_create_context EGL_KHR_fence_sync EGL_KHR_get_all_proc_addresses EGL_KHR_partial_update EGL_KHR_swap_buffers_with_damage EGL_KHR_no_config_context EGL_KHR_gl_colorspace EGL_KHR_gl_renderbuffer_image EGL_KHR_gl_texture_2D_image EGL_KHR_gl_texture_3D_image EGL_KHR_gl_texture_cubemap_image EGL_KHR_image EGL_KHR_image_base EGL_KHR_image_pixmap EGL_KHR_reusable_sync EGL_KHR_stream EGL_KHR_stream_attrib EGL_KHR_stream_consumer_gltexture EGL_KHR_stream_cross_process_fd EGL_KHR_stream_fifo EGL_KHR_stream_producer_eglsurface EGL_KHR_surfaceless_context EGL_KHR_wait_sync EGL_NV_nvrm_fence_sync EGL_NV_post_sub_buffer EGL_NV_quadruple_buffer EGL_NV_stream_consumer_eglimage EGL_NV_stream_cross_display EGL_NV_stream_cross_object EGL_NV_stream_cross_process EGL_NV_stream_cross_system EGL_NV_stream_dma EGL_NV_stream_flush EGL_NV_stream_metadata EGL_NV_stream_remote EGL_NV_stream_reset EGL_NV_stream_socket EGL_NV_stream_socket_inet EGL_NV_stream_socket_unix EGL_NV_stream_sync EGL_NV_stream_fifo_next EGL_NV_stream_fifo_synchronous EGL_NV_stream_consumer_gltexture_yuv EGL_NV_stream_attrib EGL_NV_stream_origin EGL_NV_system_time EGL_NV_output_drm_flip_event EGL_NV_triple_buffer EGL_NV_robustness_video_memory_purge
Registering ResourceManager for type Texture
RenderSystem::_createRenderWindow "OgreTutorialApp", 640x480 windowed  miscParams: FSAA=0 displayFrequency=N/A externalWindowHandle=104857608 gamma=No sdlwin=94218263309584 vsync=Yes vsyncInterval=1 
EGLWindow: colourBufferSize=8/8/8/8 gamma=0 FSAA=0
GL_VERSION = 4.6.0.0
GL_VENDOR = NVIDIA Corporation
GL_RENDERER = NVIDIA GeForce GTX 960M/PCIe/SSE2
GL_EXTENSIONS = GL_AMD_multi_draw_indirect GL_AMD_seamless_cubemap_per_texture GL_ARB_arrays_of_arrays GL_ARB_base_instance GL_ARB_bindless_texture GL_ARB_blend_func_extended GL_ARB_buffer_storage GL_ARB_clear_buffer_object GL_ARB_clear_texture GL_ARB_clip_control GL_ARB_color_buffer_float GL_ARB_compatibility GL_ARB_compressed_texture_pixel_storage GL_ARB_conservative_depth GL_ARB_compute_shader GL_ARB_compute_variable_group_size GL_ARB_conditional_render_inverted 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_depth_texture GL_ARB_derivative_control GL_ARB_direct_state_access GL_ARB_draw_buffers GL_ARB_draw_buffers_blend GL_ARB_draw_indirect GL_ARB_draw_elements_base_vertex GL_ARB_draw_instanced GL_ARB_enhanced_layouts GL_ARB_ES2_compatibility GL_ARB_ES3_compatibility GL_ARB_ES3_1_compatibility GL_ARB_ES3_2_compatibility GL_ARB_explicit_attrib_location GL_ARB_explicit_uniform_location GL_ARB_fragment_coord_conventions GL_ARB_fragment_layer_viewport GL_ARB_fragment_program GL_ARB_fragment_program_shadow GL_ARB_fragment_shader GL_ARB_framebuffer_no_attachments GL_ARB_framebuffer_object GL_ARB_framebuffer_sRGB GL_ARB_geometry_shader4 GL_ARB_get_program_binary GL_ARB_get_texture_sub_image GL_ARB_gl_spirv 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_imaging 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_multisample GL_ARB_multitexture GL_ARB_occlusion_query GL_ARB_occlusion_query2 GL_ARB_parallel_shader_compile GL_ARB_pipeline_statistics_query GL_ARB_pixel_buffer_object GL_ARB_point_parameters 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_shading_language_100 GL_ARB_shading_language_420pack GL_ARB_shading_language_include GL_ARB_shading_language_packing GL_ARB_shadow GL_ARB_sparse_buffer GL_ARB_sparse_texture GL_ARB_spirv_extensions GL_ARB_stencil_texturing GL_ARB_sync GL_ARB_tessellation_shader GL_ARB_texture_barrier GL_ARB_texture_border_clamp GL_ARB_texture_buffer_object GL_ARB_texture_buffer_object_rgb32 GL_ARB_texture_buffer_range GL_ARB_texture_compression GL_ARB_texture_compression_bptc GL_ARB_texture_compression_rgtc GL_ARB_texture_cube_map GL_ARB_texture_cube_map_array GL_ARB_texture_env_add GL_ARB_texture_env_combine GL_ARB_texture_env_crossbar GL_ARB_texture_env_dot3 GL_ARB_texture_filter_anisotropic GL_ARB_texture_float GL_ARB_texture_gather GL_ARB_texture_mirror_clamp_to_edge GL_ARB_texture_mirrored_repeat 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_transpose_matrix 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_buffer_object GL_ARB_vertex_program 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_ARB_window_pos GL_ATI_draw_buffers GL_ATI_texture_float GL_ATI_texture_mirror_once GL_S3_s3tc GL_EXT_texture_env_add GL_EXT_abgr GL_EXT_bgra GL_EXT_bindable_uniform GL_EXT_blend_color GL_EXT_blend_equation_separate GL_EXT_blend_func_separate GL_EXT_blend_minmax GL_EXT_blend_subtract GL_EXT_compiled_vertex_array GL_EXT_Cg_shader GL_EXT_depth_bounds_test GL_EXT_direct_state_access GL_EXT_draw_buffers2 GL_EXT_draw_instanced GL_EXT_draw_range_elements GL_EXT_EGL_image_storage GL_EXT_fog_coord GL_EXT_framebuffer_blit GL_EXT_framebuffer_multisample GL_EXTX_framebuffer_mixed_formats GL_EXT_framebuffer_multisample_blit_scaled GL_EXT_framebuffer_object GL_EXT_framebuffer_sRGB GL_EXT_geometry_shader4 GL_EXT_gpu_program_parameters GL_EXT_gpu_shader4 GL_EXT_multi_draw_arrays GL_EXT_multiview_texture_multisample GL_EXT_multiview_timer_query GL_EXT_packed_depth_stencil GL_EXT_packed_float GL_EXT_packed_pixels GL_EXT_pixel_buffer_object GL_EXT_point_parameters GL_EXT_polygon_offset_clamp GL_EXT_provoking_vertex GL_EXT_rescale_normal GL_EXT_secondary_color GL_EXT_separate_shader_objects GL_EXT_separate_specular_color GL_EXT_shader_image_load_formatted GL_EXT_shader_image_load_store GL_EXT_shader_integer_mix GL_EXT_shadow_funcs GL_EXT_stencil_two_side GL_EXT_stencil_wrap GL_EXT_texture3D GL_EXT_texture_array GL_EXT_texture_buffer_object GL_EXT_texture_compression_dxt1 GL_EXT_texture_compression_latc GL_EXT_texture_compression_rgtc GL_EXT_texture_compression_s3tc GL_EXT_texture_cube_map GL_EXT_texture_edge_clamp GL_EXT_texture_env_combine GL_EXT_texture_env_dot3 GL_EXT_texture_filter_anisotropic GL_EXT_texture_integer GL_EXT_texture_lod GL_EXT_texture_lod_bias GL_EXT_texture_mirror_clamp GL_EXT_texture_object GL_EXT_texture_shadow_lod GL_EXT_texture_shared_exponent GL_EXT_texture_sRGB GL_EXT_texture_sRGB_R8 GL_EXT_texture_sRGB_decode GL_EXT_texture_storage GL_EXT_texture_swizzle GL_EXT_timer_query GL_EXT_transform_feedback2 GL_EXT_vertex_array GL_EXT_vertex_array_bgra GL_EXT_vertex_attrib_64bit GL_EXT_window_rectangles GL_EXT_import_sync_object GL_NV_robustness_video_memory_purge GL_IBM_rasterpos_clip GL_IBM_texture_mirrored_repeat GL_KHR_context_flush_control GL_KHR_debug GL_EXT_memory_object GL_EXT_memory_object_fd GL_KHR_parallel_shader_compile GL_KHR_no_error GL_KHR_robust_buffer_access_behavior GL_KHR_robustness GL_EXT_semaphore GL_EXT_semaphore_fd GL_NV_timeline_semaphore GL_KHR_shader_subgroup GL_KTX_buffer_region GL_NV_alpha_to_coverage_dither_control GL_NV_bindless_multi_draw_indirect GL_NV_bindless_multi_draw_indirect_count GL_NV_bindless_texture GL_NV_blend_equation_advanced GL_NV_blend_equation_advanced_coherent GL_NV_blend_minmax_factor GL_NV_blend_square GL_NV_command_list GL_NV_compute_program5 GL_NV_conditional_render GL_NV_copy_depth_to_color GL_NV_copy_image GL_NV_depth_buffer_float GL_NV_depth_clamp GL_NV_draw_texture GL_NV_draw_vulkan_image GL_NV_ES1_1_compatibility GL_NV_ES3_1_compatibility GL_NV_explicit_multisample GL_NV_feature_query GL_NV_fence GL_NV_float_buffer GL_NV_fog_distance GL_NV_fragment_program GL_NV_fragment_program_option GL_NV_fragment_program2 GL_NV_framebuffer_multisample_coverage GL_NV_geometry_shader4 GL_NV_gpu_program4 GL_NV_internalformat_sample_query GL_NV_gpu_program4_1 GL_NV_gpu_program5 GL_NV_gpu_program5_mem_extended GL_NV_gpu_program_fp64 GL_NV_gpu_shader5 GL_NV_half_float GL_NV_light_max_exponent GL_NV_multisample_coverage GL_NV_multisample_filter_hint GL_NV_occlusion_query GL_NV_packed_depth_stencil GL_NV_parameter_buffer_object GL_NV_parameter_buffer_object2 GL_NV_path_rendering GL_NV_point_sprite GL_NV_primitive_restart GL_NV_query_resource GL_NV_query_resource_tag GL_NV_register_combiners GL_NV_register_combiners2 GL_NV_shader_atomic_counters GL_NV_shader_atomic_float GL_NV_shader_atomic_int64 GL_NV_shader_buffer_load GL_NV_shader_storage_buffer_object GL_NV_shader_subgroup_partitioned GL_NV_texgen_reflection GL_NV_texture_barrier GL_NV_texture_compression_vtc GL_NV_texture_env_combine4 GL_NV_texture_multisample GL_NV_texture_rectangle GL_NV_texture_rectangle_compressed GL_NV_texture_shader GL_NV_texture_shader2 GL_NV_texture_shader3 GL_NV_transform_feedback GL_NV_transform_feedback2 GL_NV_uniform_buffer_unified_memory GL_NV_vertex_attrib_integer_64bit GL_NV_vertex_buffer_unified_memory GL_NV_vertex_program GL_NV_vertex_program1_1 GL_NV_vertex_program2 GL_NV_vertex_program2_option GL_NV_vertex_program3 GL_NVX_conditional_render GL_NV_gpu_multicast GL_NVX_progress_fence GL_NVX_gpu_memory_info GL_NV_shader_thread_group GL_NV_shader_thread_shuffle GL_KHR_blend_equation_advanced GL_KHR_blend_equation_advanced_coherent GL_OES_EGL_image GL_OVR_multiview GL_OVR_multiview2 GL_SGIS_generate_mipmap GL_SGIS_texture_lod GL_SGIX_depth_texture GL_SGIX_shadow GL_SUN_slice_accum 
***************************
*** GL Renderer Started ***
***************************
GLSL support detected
GL: Using GL_EXT_framebuffer_object for rendering to textures (best)
FBO PF_UNKNOWN depth/stencil support: D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_L8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_BYTE_LA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R5G6B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A4R4G4B4 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A1R5G5B5 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_A8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_B8G8R8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8R8G8B8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_X8B8G8R8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R8G8B8A8 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_DEPTH16 depth/stencil support: D0S0 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGBA depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_R3G3B2 depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_R depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_R depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT16_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_FLOAT32_GR depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
FBO PF_SHORT_RGB depth/stencil support: D0S0 D0S8 D16S0 D24S0 D32S0 Packed-D24S8
[GL] : Valid FBO targets PF_UNKNOWN PF_L8 PF_A8 PF_BYTE_LA PF_R5G6B5 PF_A4R4G4B4 PF_A1R5G5B5 PF_R8G8B8 PF_B8G8R8 PF_A8R8G8B8 PF_A8B8G8R8 PF_B8G8R8A8 PF_FLOAT16_RGB PF_FLOAT16_RGBA PF_FLOAT32_RGB PF_FLOAT32_RGBA PF_X8R8G8B8 PF_X8B8G8R8 PF_R8G8B8A8 PF_DEPTH16 PF_SHORT_RGBA PF_R3G3B2 PF_FLOAT16_R PF_FLOAT32_R PF_FLOAT16_GR PF_FLOAT32_GR PF_SHORT_RGB 
RenderSystem capabilities
-------------------------
RenderSystem Name: OpenGL Rendering Subsystem
GPU Vendor: nvidia
Device Name: NVIDIA GeForce GTX 960M/PCIe/SSE2
Driver Version: 4.6.0.0
 * Fixed function pipeline: yes
 * 32-bit index buffers: yes
 * Hardware stencil buffer: yes
   - Stencil depth: 8
   - Two sided stencil support: yes
   - Wrap stencil values: yes
 * Vertex programs: yes
   - Number of floating-point constants: 1024
   - Number of integer constants: 0
   - Number of boolean constants: 0
 * Fragment programs: yes
   - Number of floating-point constants: 1024
   - Number of integer constants: 0
   - Number of boolean constants: 0
 * Geometry programs: yes
   - Number of floating-point constants: 2048
   - Number of integer constants: 0
   - Number of boolean constants: 0
 * Tessellation Hull programs: no
 * Tessellation Domain programs: no
 * Compute programs: no
 * Supported Shader Profiles: arbfp1 arbvp1 fp20 fp30 fp40 glsl glsl100 glsl110 glsl120 gp4fp gp4gp gp4vp gpu_fp gpu_gp gpu_vp nvgp4 vp30 vp40
 * Read-back compiled shader: yes
 * Number of vertex attributes: 16
 * Textures
   - Number of texture units: 16
   - Floating point: yes
   - Non-power-of-two: yes
   - 1D textures: yes
   - 2D array textures: yes
   - 3D textures: yes
   - Anisotropic filtering: yes
 * Texture Compression: yes
   - DXT: yes
   - VTC: yes
   - PVRTC: no
   - ATC: no
   - ETC1: no
   - ETC2: no
   - BC4/BC5: no
   - BC6H/BC7: no
   - ASTC: no
   - Automatic mipmap generation: yes
 * Vertex Buffers
   - Render to Vertex Buffer: yes
   - Instance Data: yes
   - Primitive Restart: no
 * Vertex texture fetch: yes
   - Max vertex textures: 32
   - Vertex textures shared: yes
 * Read/Write Buffers: no
 * Hardware Occlusion Query: yes
 * User clip planes: yes
 * Depth clamping: no
 * Hardware render-to-texture: yes
   - Multiple Render Targets: 8
   - With different bit depths: yes
 * Point Sprites: yes
   - Extended parameters: yes
   - Max Size: 2047
 * Wide Lines: yes
 * Hardware Gamma: yes
 * PBuffer support: yes
 * Vertex Array Objects: no
 * Separate shader objects: no
   - redeclare GLSL interface block: no
 * Debugging/ profiling events: no
 * Map buffer storage: yes
DefaultWorkQueue('Root') initialising on thread 139742734367872.
DefaultWorkQueue('Root')::WorkerFunc - thread 139742630217280 starting.
DefaultWorkQueue('Root')::WorkerFunc - thread 139742621824576 starting.
Particle Renderer Type 'billboard' registered
SceneManagerFactory for type 'BspSceneManager' registered.
SceneManagerFactory for type 'PCZSceneManager' registered.
MovableObjectFactory for type 'PCZLight' registered.
MovableObjectFactory for type 'Portal' registered.
MovableObjectFactory for type 'AntiPortal' registered.
PCZone Factory Type 'ZoneType_Octree' registered
SceneManagerFactory for type 'OctreeSceneManager' registered.
Parsing '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/resources.cfg'
Creating resource group BSPWorld
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/oa_rpg3dm2.pk3' of type 'Zip' to resource group 'BSPWorld'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/ogretestmap.zip' of type 'Zip' to resource group 'BSPWorld'
Creating resource group Essential
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/thumbnails' of type 'FileSystem' to resource group 'Essential'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/SdkTrays.zip' of type 'Zip' to resource group 'Essential'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/profiler.zip' of type 'Zip' to resource group 'Essential'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/PBR' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/PBR/filament' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/textures/PBR' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/GLSL' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/GLSL120' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/GLSL150' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/GLSL400' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/GLSLES' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/SPIRV' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/Cg' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/HLSL' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/programs/HLSL_Cg' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/scripts' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/textures' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/textures/terrain' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/models' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/particle' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/DeferredShadingMedia' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/DeferredShadingMedia/DeferredShading/post' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/PCZAppMedia' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/scripts/SSAO' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/materials/textures/SSAO' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/volumeTerrain' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/CSMShadows' of type 'FileSystem' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/cubemap.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/cubemapsJS.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/dragon.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/fresneldemo.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/ogredance.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/Sinbad.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/skybox.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/volumeTerrain/volumeTerrainBig.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/DamagedHelmet.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/packs/filament_shaders.zip' of type 'Zip' to resource group 'General'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/Main' of type 'FileSystem' to resource group 'OgreInternal'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/RTShaderLib/GLSL' of type 'FileSystem' to resource group 'OgreInternal'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/RTShaderLib/HLSL_Cg' of type 'FileSystem' to resource group 'OgreInternal'
Added resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/share/OGRE/./Media/Terrain/' of type 'FileSystem' to resource group 'OgreInternal'
Warning: resource location '/home/debugg/Projects/SDKs/ogre-13.1.1/Tests/Media' does not exist - skipping
Parsing scripts for resource group BSPWorld
Parsing script scripts/clown.shader
Parsing script scripts/liquid_water.shader
Parsing script scripts/oalite.shader
Parsing script scripts/oanew.shader
Parsing script scripts/oasky.shader
Finished parsing scripts for resource group BSPWorld
Creating resources for group BSPWorld
All done
Parsing scripts for resource group Essential
Parsing script SdkTrays.material
Parsing script OgreProfiler.material
Parsing script SdkTrays.fontdef
Parsing script SdkTrays.overlay
Texture 'sdk_cursor.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_tray.png': Loading 1 faces(PF_A8B8G8R8,64x64x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x64x1.
Texture 'sdk_button_up.png': Loading 1 faces(PF_A8B8G8R8,128x32x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x32x1.
Texture 'sdk_text_box.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_mini_tray.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_track.png': Loading 1 faces(PF_A8B8G8R8,16x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x32x1.
Texture 'sdk_handle.png': Loading 1 faces(PF_A8B8G8R8,16x16x1) with 4 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,16x16x1.
Texture 'sdk_mini_text_box.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_label.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_separator.png': Loading 1 faces(PF_A8B8G8R8,64x16x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x16x1.
Texture 'sdk_logo.png': Loading 1 faces(PF_A8B8G8R8,128x64x1) with 7 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,128x64x1.
Texture 'sdk_shade.png': Loading 1 faces(PF_A8B8G8R8,64x48x1) with 6 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,64x48x1.
Texture 'sdk_frame.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_mini_text_box_over.png': Loading 1 faces(PF_A8B8G8R8,32x32x1) with 5 hardware generated mipmaps from Image. Internal format is PF_A8B8G8R8,32x32x1.
Texture 'sdk_pulse.png': Loading 1 faces(PF_B8G8R8,8x1x1) with 3 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,8x1x1.
Finished parsing scripts for resource group Essential
Creating resources for group Essential
All done
Parsing scripts for resource group General
Parsing script pbr.program
Parsing script pbr_filament.program
Parsing script Instancing.program
Parsing script Examples.program
Parsing script StdQuad_vp.program
Parsing script deferred_post.program
Parsing script ShadowCaster.program
Parsing script glTF2_PBR.material
Parsing script filament.material
Parsing script Examples-DynTex.material
Parsing script OldTV.material
Parsing script Invert.material
Parsing script RasterizationOrder.material
Parsing script LigthShafts.material
Parsing script Ogre.material
Parsing script VTFInstancing.material
Parsing script CompositorDemo.material
Parsing script Bloom2.material
Parsing script sibenik.material
Parsing script MotionBlur.material
Parsing script Tiling.material
Parsing script Hurt.material
Parsing script TerrainTessellation.material
Parsing script smoke.material
Parsing script ASCII.material
Parsing script Examples-Water.material
Parsing script DOF.material
Parsing script Island.material
Parsing script HWInstancing.material
Parsing script Embossed.material
Parsing script NightVision.material
Parsing script Hair.material
Parsing script SharpenEdges.material
Parsing script AdaptivePNTrianglesTessellation.material
Parsing script OffsetMapping.material
Parsing script IsoSurf.material
Parsing script DualQuaternion.material
Parsing script FluidSim.material
Parsing script RZR-002.material
Parsing script Glass.material
Parsing script DepthShadowmap.material
Parsing script hdr.material
Parsing script HardwareSkinningShadow.material
Parsing script ShaderSystem.material
Parsing script Halftone.material
Parsing script Dither.material
Parsing script Swizzle.material
Parsing script RadialBlur.material
Parsing script VarianceShadowmap.material
Parsing script BlackAndWhite.material
Parsing script pssm.material
Parsing script ParticleGS.material
Parsing script Examples.material
Parsing script MRTtest.material
Parsing script Laplace.material
Parsing script HW_VTFInstancing.material
Parsing script ShaderInstancing.material
Parsing script Posterize.material
Parsing script DamagedHelmet.material
Parsing script RTShaderSystem.material
Parsing script Examples-Advanced.material
Parsing script OldMovie.material
Parsing script WBOIT.material
Parsing script facial.material
Parsing script HeatVision.material
Parsing script Penguin.material
Parsing script HW_VTF_LUTInstancing.material
Parsing script Ocean.material
Parsing script Tessellation.material
Parsing script Compute.material
Parsing script deferred_post.material
Parsing script ssao.material
Parsing script deferred_post_minilight.material
Parsing script deferreddemo.material
Parsing script ShadowCaster.material
Parsing script ROOM.material
Parsing script GBuffer.material
Parsing script ShowNormals.material
Parsing script ShowViewPos.material
Parsing script HorizonBased.material
Parsing script ShowDepth.material
Parsing script CreaseShading.material
Parsing script Crytek.material
Parsing script UnsharpMask.material
Parsing script Volumetric.material
Parsing script HemisphereMC.material
Parsing script Modulate.material
Parsing script SSAOPost.material
Parsing script triplanarReference.material
Parsing script CSMShadows.material
Parsing script RomanBath.material
Parsing script Sinbad.material
Parsing script emitted_emitter.particle
Parsing script smoke.particle
Parsing script Examples-Water.particle
Parsing script Examples.particle
Parsing script Examples.compositor
Parsing script ssao.compositor
Parsing script deferred.compositor
Parsing script SSAOPost.compositor
Parsing script SSAO.compositor
Finished parsing scripts for resource group General
Creating resources for group General
All done
Parsing scripts for resource group OgreAutodetect
Finished parsing scripts for resource group OgreAutodetect
Creating resources for group OgreAutodetect
All done
Parsing scripts for resource group OgreInternal
Parsing script ShadowVolumeExtude.program
Finished parsing scripts for resource group OgreInternal
Creating resources for group OgreInternal
All done
Mesh: Loading ninja.mesh.
Skeleton: Loading ninja.skeleton
Texture 'nskingr.jpg': Loading 1 faces(PF_B8G8R8,512x512x1) with 9 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,512x512x1.
Texture 'rockwall.tga': Loading 1 faces(PF_B8G8R8,256x256x1) with 8 hardware generated mipmaps from Image. Internal format is PF_B8G8R8,256x256x1.

-->

paroj commented 3 years ago

this is the effect of fixed function lighting (per vertex), while the screenshot was done with per-pixel lighting. If you switch to GL3+, you get identical results.