Skip to content

Latest commit

 

History

History
1516 lines (1007 loc) · 45.5 KB

README.md

File metadata and controls

1516 lines (1007 loc) · 45.5 KB

GLSL Viewer Examples

This are GLSL examples of how to use LYGIA Shader Library. You can try them using:

How to start?

Clone this repository recursivelly

git clone --recursive https://github.com/patriciogonzalezvivo/lygia_examples.git

Examples

math_functions

glslViewer math_functions.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 16.79704228114478 16.799073000000135 plot

math_gaussian

glslViewer math_gaussian.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.4595536702422147 3.4460449999996854 plot

math_quat

glslViewer math_quat.frag assets/suzanne.obj math_quat.vert --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.9759021356404145 3.935058999999683 plot

animation_easing

glslViewer animation_easing.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 5.434387771071235 5.4189449999994395 plot

animation_sprite

glslViewer animation_sprite.frag assets/sprite_megaman.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.949399734202212 3.9859620000001996 plot

color_brightnessContrast

glslViewer color_brightnessContrast.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.2519600344827584 3.2270500000004176 plot

color_brightnessContrastMatrix

glslViewer color_brightnessContrastMatrix.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.2534775732421877 3.230956999999762 plot

color_mix

glslViewer color_mix.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 19.90580606387226 19.930908000000272 plot

color_lut

glslViewer color_lut.frag assets/danny.png assets/square_01.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.944661876085241 3.9250489999994898 plot

color_dither

glslViewer color_dither.frag -u_noise assets/noise_blue.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.447685546896552 3.428955500000029 plot

sample_dither

glslViewer sample_dither.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 5.687585733636882 5.664794000000256 plot

color_iridescence_map

glslViewer color_iridescence_map.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.054175953365775 4.038086000000476 plot

color_wavelength

glslViewer color_wavelength.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 9.79221191372549 9.78198250000014 plot

color_wada

glslViewer color_wada.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.834324201094391 6.85253849999981 plot

color_wada_dyads

glslViewer color_wada_dyads.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.351476204704386 6.474121000001105 plot

color_wada_triads

glslViewer color_wada_triads.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.371119113448056 6.51709000000028 plot

color_wada_tetrads

glslViewer color_wada_tetrads.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.391255800511508 6.472533999999996 plot

color_pigments

glslViewer color_pigments.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.240441178526841 6.231933000000026 plot

color_palette_lerp

glslViewer color_palette_lerp.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 5.197977606344254 5.18115299999954 plot

color_ryb

glslViewer color_ryb.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 12.171998559756096 12.161499000000276 plot

color_zorn

glslViewer color_zorn.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.9505140165942314 3.9360349999997197 plot

color_mix_ryb

glslViewer color_mix_ryb.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.760338593303236 3.7487790000002406 plot

distort_pincushion

glslViewer distort_pincushion.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.452840386809268 4.494018499999811 plot

draw_digits

glslViewer draw_digits.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.007387785929043 5.993896000000063 plot

draw_aa

glslViewer draw_aa.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.372933134733159 4.357176999999865 plot

draw_shapes

glslViewer draw_shapes.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 5.953717684931506 5.940918000000238 plot

draw_supershape

glslViewer draw_supershape.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.576342460164835 4.555907999999363 plot

draw_tiles

glslViewer draw_tiles.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.7145983392790787 3.701904000000468 plot

draw_koch

glslViewer draw_koch.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.168214824854045 4.151977499999703 plot

draw_julia

glslViewer draw_julia.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 63.78748653846154 64.16149949999976 plot

draw_mandelbulb

glslViewer draw_mandelbulb.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 1343.299735 1552.562989 plot

draw_colorChecker

glslViewer draw_colorChecker.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 13.516399047361299 13.52392599999996 plot

generative_random

glslViewer generative_random.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.129797458841941 3.118163999999524 plot

generative_cnoise

glslViewer generative_cnoise.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 12.29825746182266 12.020996000000196 plot

generative_pnoise

glslViewer generative_pnoise.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 13.066469841623038 13.067016499999255 plot

generative_snoise

glslViewer generative_snoise.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 8.963940757847535 8.957030999999915 plot

generative_psrdnoise

glslViewer generative_psrdnoise.frag assets/sphere.ply --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 10.020297954864594 10.0 plot

generative_noised

glslViewer generative_noised.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 13.975195995804196 13.976807000000008 plot

generative_curl

glslViewer generative_curl.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 90.7124314587156 91.51293899999973 plot

generative_fbm

glslViewer generative_fbm.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 27.52265180110497 27.580077999999503 plot

generative_voronoi

glslViewer generative_voronoi.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 28.43146554 28.48095700000016 plot

generative_voronoise

glslViewer generative_voronoise.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 101.51568229591837 102.53417949999994 plot

generative_wavelet

glslViewer generative_wavelet.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 9.64233586969112 9.636963000000605 plot

generative_worley

glslViewer generative_worley.frag --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 23.958690467625903 23.999022999999852 plot

filter_boxBlur1D

glslViewer filter_boxBlur1D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 14.743010437223043 14.751952999999958 plot

filter_boxBlur2D

glslViewer filter_boxBlur2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 68.79187350694444 69.27343750000084 plot

filter_fibonacciBokeh

glslViewer filter_fibonacciBokeh.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 64.75005707142857 65.1629640000001 plot

filter_gaussianBlur1D

glslViewer filter_gaussianBlur1D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 16.21907790243902 16.22485299999971 plot

filter_gaussianBlur2D

glslViewer filter_gaussianBlur2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 77.7572650859375 78.37487800000008 plot

filter_bilateral2D

glslViewer filter_bilateral2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 96.33372600970876 97.29199200000016 plot

filter_radialBlur2D

glslViewer filter_radialBlur2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 25.257237688607596 25.275878999999804 plot

filter_noiseBlur2D

glslViewer filter_noiseBlur2D.frag -u_tex0 assets/danny.png -u_noise assets/noise_blue.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 7.706720611111112 7.696044999999685 plot

filter_median2D

glslViewer filter_median2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 37.41167616541353 37.536010499999975 plot

filter_kuwahara2D

glslViewer filter_kuwahara2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 193.60647950000003 197.53918449999992 plot

filter_sharpen2D

glslViewer filter_sharpen2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 18.42207364575646 18.437499999999886 plot

filter_laplacian2D

glslViewer filter_laplacian2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 5.188423703530632 5.169189000000188 plot

filter_edge2D

glslViewer filter_edge2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 6.7873193491847825 6.7680660000002035 plot

filter_bilinear2D

glslViewer filter_bilinear2D.frag assets/danny.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 313.0257371290322 323.34082000000035 plot

sample_dof

glslViewer sample_dof.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 206.09574889583334 210.448486 plot

sample_bracketing

glslViewer sample_bracketing.frag assets/rock_moss.jpg --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 20.129850818548384 20.131957999999713 plot

sample_wrap

glslViewer sample_wrap.frag assets/rocks.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.000417354541818 3.979981000000407 plot

sample_wrap_repeat

glslViewer sample_wrap_repeat.frag assets/rocks.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.068273921041921 4.072022000000288 plot

sample_wrap_clamp

glslViewer sample_wrap_clamp.frag assets/rocks.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.9470201342812006 3.9554439999997157 plot

sample_wrap_mirror

glslViewer sample_wrap_mirror.frag assets/rocks.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.472395505592842 4.273925999999847 plot

sample_wrap_untile

glslViewer sample_wrap_untile.frag assets/rocks.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 14.108280850282485 11.628905999999688 plot

sample_wrap_zero

glslViewer sample_wrap_zero.frag assets/rocks.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.0851175944444447 3.070068999999876 plot

sample_filter_bicubic

glslViewer sample_filter_bicubic.frag assets/noise_blue.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 4.3113917825711825 4.285889000000452 plot

sample_filter_nearest

glslViewer sample_filter_nearest.frag assets/noise_blue.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.216609999034749 3.203856999999516 plot

sample_filter_smooth

glslViewer sample_filter_smooth.frag assets/noise_blue.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 3.2133680765027326 3.201171999999133 plot

sample_equirect

glslViewer sample_equirect.frag assets/dragon.obj assets/studio.png  -e camera_position,-1.43923,0.891203,1.98093  -e define,SCENE_CUBEMAP,u_tex0 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 33.56122832996633 33.325928000000204 plot

sample_3Dsdf

glslViewer sample_3Dsdf.frag assets/suzanne.png  -e camera_position,-29.5393,26.2406,-42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 733.5901693333334 799.0465084999996 plot

sample_triplanar

glslViewer sample_triplanar.frag assets/suzanne.obj assets/rock_moss.jpg --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 14.067722546478874 13.982056000000199 plot

morphological_erosion

glslViewer morphological_erosion.frag assets/flower.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 2083.9530027499995 2777.901489 plot

morphological_dilation

glslViewer morphological_dilation.frag assets/flower.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 2097.9590452499997 2784.176025 plot

morphological_alphaFill

glslViewer morphological_alphaFill.frag assets/flower.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 21.480616603448276 21.517089499999656 plot

morphological_poissonFill

glslViewer morphological_poissonFill.frag assets/flower.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 35.85379061371841 40.064941999999064 plot

morphological_marchinSquares

glslViewer morphological_marchinSquares.frag assets/flower.png --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 5.08648193994911 5.073975000000246 plot

lighting_position

glslViewer lighting_position.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 28.226708430594897 28.19091800000001 plot

lighting_normal

glslViewer lighting_normal.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 10.759956885775862 10.43054200000006 plot

lighting_gooch

glslViewer lighting_gooch.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 17.1657425395189 17.034057500000017 plot

lighting_pbrLittle

glslViewer lighting_pbrLittle.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 17.526321706502635 17.38208099999997 plot

lighting_pbrLittle_cubemap

glslViewer lighting_pbrLittle.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 42.98803395258621 42.95544449999994 plot

lighting_pbrLittle_deferred

glslViewer lighting_pbrLittle_deferred.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 44.61721049327355 44.8269049999999 plot

lighting_pbr

glslViewer lighting_pbr.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 18.71042769043152 18.58398500000021 plot

lighting_pbr_cubemap

glslViewer lighting_pbr.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 39.33248961660079 39.275878999999804 plot

lighting_pbr_lights

glslViewer lighting_pbr_lights.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 25.044806552763816 24.998534500000005 plot

lighting_pbr_dynamic

glslViewer lighting_pbr_dynamic.frag assets/dragon.obj lighting_pbr_dynamic.vert  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 580.6792422941177 616.8869630000002 plot

lighting_pbrClearCoat

glslViewer lighting_pbrClearCoat.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 20.841553244258876 20.786133000000518 plot

lighting_pbrClearCoat_cubemap

glslViewer lighting_pbrClearCoat.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 45.15734808144797 45.250976000001174 plot

lighting_pbrIridescence

glslViewer lighting_pbrIridescence.frag assets/IridescenceSuzanne.glb  -e camera_position,-5.34446,3.96689,5.76653 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 8.022424071485943 8.004150999999979 plot

lighting_pbrIridescence_cubemap

glslViewer lighting_pbrIridescence.frag assets/IridescenceSuzanne.glb  -e camera_position,-5.34446,3.96689,5.76653 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 12.017916866425992 11.989013000000341 plot

lighting_pbrGlass

glslViewer lighting_pbrGlass.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 11.64449881118881 11.517089499999656 plot

lighting_pbrGlass_cubemap

glslViewer lighting_pbrGlass.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 46.35631586046511 46.35595699999976 plot

lighting_pbrSsS

glslViewer lighting_pbrSsS.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 63.56897442307691 63.77600100000018 plot

lighting_pbrSsS_cubemap

glslViewer lighting_pbrSsS.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 66.47013455704698 66.84497100000044 plot

lighting_shadow

glslViewer lighting_shadow.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 54.139901869565215 54.398681500000066 plot

lighting_sphereMap_glass

glslViewer lighting_sphereMap.frag assets/sem-glass-0003.jpg assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 68.05954188356165 65.0941164999997 plot

lighting_sphereMap_crystal

glslViewer lighting_sphereMap.frag assets/sem-glass-0004.jpg assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 67.99566567123287 68.41088850000006 plot

lighting_sphereMap_gold

glslViewer lighting_sphereMap.frag assets/sem-gold-0003.jpg assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 61.221932870370374 61.550048999999944 plot

lighting_sphereMap_metal

glslViewer lighting_sphereMap.frag assets/sem-metal-0003.jpg assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 62.02730103125 62.39099100000021 plot

lighting_sphereMap_dark_metal

glslViewer lighting_sphereMap.frag assets/sem-metal-0019.jpg assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 61.08347047530864 61.40795899999995 plot

lighting_sphereMap_iridescent

glslViewer lighting_sphereMap.frag assets/sem-0033.jpg assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 61.21328998765432 61.52709949999962 plot

lighting_sphericalHarmonics

glslViewer lighting_sphericalHarmonics.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093  -e sky,on --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 55.223266605555565 55.475463500000046 plot

lighting_ssao

glslViewer lighting_ssao.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 76.76675107751937 77.51098599999932 plot

lighting_ssr

glslViewer lighting_ssr.frag assets/dragon.obj  -e camera_position,-1.43923,0.891203,1.98093 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 620.4561360666667 664.4018559999995 plot

lighting_volumetric

glslViewer lighting_volumetric.frag assets/dragon.obj  -e camera_position,-1.67433,0.0682091,-1.99539 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 86.78110650877194 87.40100100000029 plot

lighting_raymarching

glslViewer lighting_raymarching.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 1253.1544364285712 1461.0419920000004 plot

lighting_raymarching_cubemap

glslViewer lighting_raymarching.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 1252.9362794285714 1461.5168460000002 plot

lighting_raymarching_return

glslViewer lighting_raymarching_return.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 1271.7357004285714 1483.603028 plot

lighting_raymarching_gooch

glslViewer lighting_raymarching_gooch.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 236.2266816097561 242.08618099999967 plot

lighting_raymarching_pbr

glslViewer lighting_raymarching_pbr.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 264.1994892972973 271.5219729999999 plot

lighting_raymarching_pbr_cubemap

glslViewer lighting_raymarching_pbr.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 252.31323241025638 258.893067 plot

lighting_raymarching_pbrLittle

glslViewer lighting_raymarching_pbrLittle.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 240.494998097561 246.4951170000004 plot

lighting_raymarching_pbrLittle_cubemap

glslViewer lighting_raymarching_pbrLittle.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 240.802389 246.75195299999996 plot

lighting_raymarching_pbrClearCoat

glslViewer lighting_raymarching_pbrClearCoat.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 269.2728881944445 276.93005349999976 plot

lighting_raymarching_pbrClearCoat_cubemap

glslViewer lighting_raymarching_pbrClearCoat.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 257.08934260526314 263.8955075000001 plot

lighting_raymarching_pbrGlass

glslViewer lighting_raymarching_pbrGlass.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 194.95195801999998 198.89001450000023 plot

lighting_raymarching_pbrGlass_cubemap

glslViewer lighting_raymarching_pbrGlass.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 180.34153916666668 183.75451699999985 plot

lighting_raymarching_pbrIridescence

glslViewer lighting_raymarching_pbrIridescence.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 264.2075921081081 271.5139159999999 plot

lighting_raymarching_pbrIridescence_cubemap

glslViewer lighting_raymarching_pbrIridescence.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot
V3D 252.24812825641027 258.973876 plot

lighting_raymarching_volume

glslViewer lighting_raymarching_volume.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot

lighting_raymarching_pbr_volume

glslViewer lighting_raymarching_pbr_volume.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot

lighting_raymarching_pbr_volume_cubemap

glslViewer lighting_raymarching_pbr_volume.frag  -e camera_position,29.5393,26.2406,42.1865 --msaa --width 512 --height 512 -e dynamic_shadows,on -C assets/Arches_E_PineTree_3k.hdr -l

screenshot

GPU Mean Median plot

lighting_atmosphere_equirectangular

glslViewer lighting_atmosphere.frag  -e define,PROJECTION_MODE,0 --msaa --width 1024 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 129.35185737662337 131.28100599999925 plot

lighting_atmosphere_fisheye

glslViewer lighting_atmosphere.frag  -e define,PROJECTION_MODE,1 --msaa --width 512 --height 512 -e dynamic_shadows,on -l

screenshot

GPU Mean Median plot
V3D 158.78052938709678 166.87805149999997 plot