Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

builtin: import to-be-builtin assets in pkg/daemon_src.dpkdir #268

Merged
merged 1 commit into from
Jan 18, 2020
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Binary file added pkg/daemon_src.dpkdir/gfx/2d/bigchars.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkg/daemon_src.dpkdir/lights/round.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added pkg/daemon_src.dpkdir/lights/squarelight1.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
73 changes: 73 additions & 0 deletions pkg/daemon_src.dpkdir/scripts/engine.shader
Original file line number Diff line number Diff line change
@@ -0,0 +1,73 @@
white
{
cull none
{
map $whiteimage
blendfunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbgen vertex
}
}

console
{
nopicmip
nomipmaps
{
map $blackimage
}
}

// console font fallback
gfx/2d/bigchars
{
nopicmip
nomipmaps
{
map gfx/2d/bigchars
blendFunc GL_SRC_ALPHA GL_ONE_MINUS_SRC_ALPHA
rgbgen vertex
}
}

lights/defaultDynamicLight
{
{
stage attenuationMapZ
map lights/mkintsquarelight1a
edgeClamp
}
{
stage attenuationMapXY
forceHighQuality
map lights/round
colored
zeroClamp
}
}

lights/defaultPointLight
{
// this will also be the falloff for any
// point light shaders that don't specify one
lightFalloffImage lights/mkintsquarelight1a
{
stage attenuationMapXY
forceHighQuality
map lights/squarelight1
colored
zeroClamp
}
}

lights/defaultProjectedLight
{
// by default, stay bright almost all the way to the end
lightFalloffImage lights/mkintsquarelight1b
{
stage attenuationMapXY
forceHighQuality
map lights/squarelight1
colored
zeroClamp
}
}
Binary file added pkg/daemon_src.dpkdir/sound/null.wav
Binary file not shown.