material Skybox/Debug1 { technique { pass { lighting off depth_write off ambient 1.0 0.0 0.0 1.0 diffuse 1.0 0.0 0.0 1.0 vertex_program_ref debug_vp { } fragment_program_ref debug_fp { } } } } material Debug/Red { technique { pass { lighting off depth_check on depth_write on depth_func always_pass ambient 1.0 0.0 0.0 1.0 diffuse vertexcolour specular 0.0 0.0 0.0 1.0 cull_software none cull_hardware none /* rtshader_system { lighting_stage metal_roughness } */ } } } material Debug/Red2 { technique { pass { lighting off depth_check on depth_write on depth_func always_pass ambient 1.0 0.0 0.0 1.0 diffuse vertexcolour specular 0.0 0.0 0.0 1.0 cull_software none cull_hardware none rtshader_system { lighting_stage metal_roughness } } } } /** * Debug material for normal visualization overlay. * Renders on top of everything (depth_check off, depth_write off) * Uses vertex colours so each normal line can have its own colour. * Rendered in overlay queue to appear on top of all geometry. */ material Debug/NormalOverlay { technique { pass { lighting off depth_check off depth_write off ambient 1.0 1.0 1.0 1.0 diffuse vertexcolour specular 0.0 0.0 0.0 1.0 cull_software none cull_hardware none scene_blend alpha_blend } } }