mirror of
https://github.com/italicsjenga/slang-shaders.git
synced 2024-11-25 00:51:29 +11:00
13 lines
566 B
Plaintext
13 lines
566 B
Plaintext
#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
|
|
|
|
#include "imgborder.inc"
|