mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-27 09:51:30 +11:00
12 lines
564 B
Plaintext
12 lines
564 B
Plaintext
|
#version 450
|
||
|
|
||
|
#pragma parameter box_scale "Image Scale" 4.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" 320.0 100.0 600.0 1.0
|
||
|
#pragma parameter in_res_y "Viewport Size Y" 240.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
|
||
|
|
||
|
#include "imgborder.inc"
|