This commit is contained in:
Rakarake 2026-03-12 14:21:46 +01:00
parent b17759b34a
commit 7c0f56f497

View file

@ -4,16 +4,19 @@ glonkers \- Create windows and wallpapers with glsl fragment shaders.
.SH SYNOPSIS .SH SYNOPSIS
glonkers [OPTIONS]... [FILE] glonkers [OPTIONS]... [FILE]
.SH OPTIONS .SH OPTIONS
.PP .PP
--window --window
.RS 4 .RS 4
Create a window. Create a window.
.RE .RE
.PP .PP
--layer --layer
.RS 4 .RS 4
Create wallpaper. Create wallpaper.
.RE .RE
.PP .PP
--output --output
.RS 4 .RS 4
@ -21,6 +24,46 @@ Specify in the following arguments which outputs (monitors) that should be
rendered to. \fB--\fR can be used to end selection. Use something like rendered to. \fB--\fR can be used to end selection. Use something like
\fBwlr-randr\fR(1) to find out monitor names. \fBwlr-randr\fR(1) to find out monitor names.
.RE .RE
.PP
--texture
.RS 4
Supply a list of paths to textures (max 4) that can be referenced in the
shader with iChannel0, iChannel1, iChannel2, iChannel3.
.RE
.PP
--
.RS 4
Stop listing outputs/textures.
.RE
.SH SHADER BUILTINS
.PP
\fBiTime\fR : float
.RS 4
Time since program start.
.RE
.PP
\fBiResolution\fR : vec2
.RS 4
Resolution in (number of pixels) x & y.
.RE
.PP
\fBiFrame\fR : int
.RS 4
The currently rendered frame.
.RE
.PP
\fBiChannel\fR{\fB0\fR..\fB3\fR} : int
.RS 4
Samplers for provided textures.
.RE
.SH SEE ALSO .SH SEE ALSO
\fBwlr-randr\fR(1) \fBwlr-randr\fR(1)
.PP .PP