ClassiCube/misc
UnknownShadow200 637a56e90e Direct3D11: Fix fog with assistance from RenderDoc graphics debugger
The Direct3D11 hlsl pixel shaders were ported from the OpenGL2 glsl fragment shaders.
In the documentation for OpenGL glsl, the W component of gl_FragCoord is specified as being 1/w. However in Direct3D11 hlsl, the W component of SV_POSITION is just w - hence why fog appeared to not work.
The solution to this is simple - when calculating depth, multiply by w instead of dividing by w.
2021-11-02 19:33:00 +11:00
..
ClassicalSharp Direct3D11: Implement backface culling 2021-10-23 16:11:32 +11:00
build_server.py
buildbot.sh Improve buildbot error reporting 2021-10-02 20:31:02 +10:00
buildbot_plugin.sh
buildtestplugin.sh
CCIcon.icns
CCicon.ico
CCicon.png
CCicon.rc
CCicon_32.res
CCicon_64.res
CCicon_mac32
CCicon_mac64
CCicon_nix32
CCicon_nix64
CCicon_rpi
D3D11ShaderGen.c Direct3D11: Fix fog with assistance from RenderDoc graphics debugger 2021-11-02 19:33:00 +11:00
info.plist
linux_icon_gen.cs
mac_icon_gen.cs
makerelease.sh
notify.py Improve buildbot error reporting 2021-10-02 20:31:02 +10:00
readme.md

This folder contains addtitional information and resources for the game

Icons

CCicon.ico is the basis icon for the other icon files

mac_icon_gen.cs/linux_icon_gen.cs use CCIcon.ico to generate icon files for macOS/Linux

TODO: Explain how to compile your own icon for all the platforms

Build scripts

File Description
buildbot.sh Compiles the game to optimised executables (with icons)
buildbot_plugin.sh Compiles specified plugin for various platforms
buildtestplugin.sh Example script for how to use buildbot_plugin.sh
makerelease.sh Packages the executables to produce files for a release
notify.py Notifies a user on Discord if buildbot fails

Other files

Info.plist is the Info.plist you would use when creating an Application Bundle for macOS.