slang-shaders/border/shaders/imgborder-gbp.slang

13 lines
566 B
Plaintext
Raw Permalink Normal View History

#version 450
#pragma parameter box_scale "Image Scale" 2.0 1.0 10.0 1.0
#pragma parameter location_x "Viewport X Pos." 0.5 0.0 1.0 0.05
#pragma parameter location_y "Viewport Y Pos." 0.5 0.0 1.0 0.05
#pragma parameter in_res_x "Viewport Size X" 240.0 100.0 600.0 1.0
#pragma parameter in_res_y "Viewport Size Y" 160.0 64.0 512.0 1.0
#pragma parameter border_on_top "Show Viewport" 1.0 0.0 1.0 1.0
#pragma parameter border_zoom_x "Border Zoom X" 1.0 0.0 4.0 0.01
#pragma parameter border_zoom_y "Border Zoom Y" 1.0 0.0 4.0 0.01
2019-01-30 09:32:54 +11:00
#include "imgborder.inc"