Should fix RL_WRAP_MIRROR_CLAMP issue
This commit is contained in:
parent
251f90cd31
commit
3f5aeb10fe
18 changed files with 139962 additions and 2 deletions
424
cmake-build-debug/games/koala_seasons/Makefile
Normal file
424
cmake-build-debug/games/koala_seasons/Makefile
Normal file
|
|
@ -0,0 +1,424 @@
|
|||
# CMAKE generated file: DO NOT EDIT!
|
||||
# Generated by "NMake Makefiles" Generator, CMake Version 3.14
|
||||
|
||||
# Default target executed when no arguments are given to make.
|
||||
default_target: all
|
||||
|
||||
.PHONY : default_target
|
||||
|
||||
# Allow only one "make -f Makefile2" at a time, but pass parallelism.
|
||||
.NOTPARALLEL:
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets provided by cmake.
|
||||
|
||||
# Disable implicit rules so canonical targets will work.
|
||||
.SUFFIXES:
|
||||
|
||||
|
||||
.SUFFIXES: .hpux_make_needs_suffix_list
|
||||
|
||||
|
||||
# Suppress display of executed commands.
|
||||
$(VERBOSE).SILENT:
|
||||
|
||||
|
||||
# A target that is always out of date.
|
||||
cmake_force:
|
||||
|
||||
.PHONY : cmake_force
|
||||
|
||||
#=============================================================================
|
||||
# Set environment variables for the build.
|
||||
|
||||
!IF "$(OS)" == "Windows_NT"
|
||||
NULL=
|
||||
!ELSE
|
||||
NULL=nul
|
||||
!ENDIF
|
||||
SHELL = cmd.exe
|
||||
|
||||
# The CMake executable.
|
||||
CMAKE_COMMAND = A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe
|
||||
|
||||
# The command to remove a file.
|
||||
RM = A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -E remove -f
|
||||
|
||||
# Escaping for special characters.
|
||||
EQUALS = =
|
||||
|
||||
# The top-level source directory on which CMake was run.
|
||||
CMAKE_SOURCE_DIR = "A:\Documents\Work\NerdThings\Source Code\raylib"
|
||||
|
||||
# The top-level build directory on which CMake was run.
|
||||
CMAKE_BINARY_DIR = "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
|
||||
#=============================================================================
|
||||
# Targets provided globally by CMake.
|
||||
|
||||
# Special rule for the target package
|
||||
package: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool..."
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cpack.exe --config ./CPackConfig.cmake
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : package
|
||||
|
||||
# Special rule for the target package
|
||||
package\fast: package
|
||||
|
||||
.PHONY : package\fast
|
||||
|
||||
# Special rule for the target package_source
|
||||
package_source:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Run CPack packaging tool for source..."
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cpack.exe --config ./CPackSourceConfig.cmake "A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/CPackSourceConfig.cmake"
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : package_source
|
||||
|
||||
# Special rule for the target package_source
|
||||
package_source\fast: package_source
|
||||
|
||||
.PHONY : package_source\fast
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running CMake to regenerate build system..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR)
|
||||
.PHONY : rebuild_cache
|
||||
|
||||
# Special rule for the target rebuild_cache
|
||||
rebuild_cache\fast: rebuild_cache
|
||||
|
||||
.PHONY : rebuild_cache\fast
|
||||
|
||||
# Special rule for the target test
|
||||
test:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Running tests..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\ctest.exe --force-new-ctest-process $(ARGS)
|
||||
.PHONY : test
|
||||
|
||||
# Special rule for the target test
|
||||
test\fast: test
|
||||
|
||||
.PHONY : test\fast
|
||||
|
||||
# Special rule for the target install
|
||||
install: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -P cmake_install.cmake
|
||||
.PHONY : install
|
||||
|
||||
# Special rule for the target install
|
||||
install\fast: preinstall\fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Install the project..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -P cmake_install.cmake
|
||||
.PHONY : install\fast
|
||||
|
||||
# Special rule for the target install/local
|
||||
install\local: preinstall
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install\local
|
||||
|
||||
# Special rule for the target install/local
|
||||
install\local\fast: preinstall\fast
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Installing only the local directory..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -DCMAKE_INSTALL_LOCAL_ONLY=1 -P cmake_install.cmake
|
||||
.PHONY : install\local\fast
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "No interactive CMake dialog available..."
|
||||
A:\Software\JetBrains\apps\CLion\ch-0\192.5728.100\bin\cmake\win\bin\cmake.exe -E echo "No interactive CMake dialog available."
|
||||
.PHONY : edit_cache
|
||||
|
||||
# Special rule for the target edit_cache
|
||||
edit_cache\fast: edit_cache
|
||||
|
||||
.PHONY : edit_cache\fast
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components:
|
||||
@$(CMAKE_COMMAND) -E cmake_echo_color --switch=$(COLOR) --cyan "Available install components are: \"Unspecified\""
|
||||
.PHONY : list_install_components
|
||||
|
||||
# Special rule for the target list_install_components
|
||||
list_install_components\fast: list_install_components
|
||||
|
||||
.PHONY : list_install_components\fast
|
||||
|
||||
# The main all target
|
||||
all: cmake_check_build_system
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\CMakeFiles" "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\CMakeFiles\progress.marks"
|
||||
$(MAKE) -f CMakeFiles\Makefile2 /nologo -$(MAKEFLAGS) games\koala_seasons\all
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
$(CMAKE_COMMAND) -E cmake_progress_start "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\CMakeFiles" 0
|
||||
.PHONY : all
|
||||
|
||||
# The main clean target
|
||||
clean:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f CMakeFiles\Makefile2 /nologo -$(MAKEFLAGS) games\koala_seasons\clean
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : clean
|
||||
|
||||
# The main clean target
|
||||
clean\fast: clean
|
||||
|
||||
.PHONY : clean\fast
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall: all
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f CMakeFiles\Makefile2 /nologo -$(MAKEFLAGS) games\koala_seasons\preinstall
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : preinstall
|
||||
|
||||
# Prepare targets for installation.
|
||||
preinstall\fast:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f CMakeFiles\Makefile2 /nologo -$(MAKEFLAGS) games\koala_seasons\preinstall
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : preinstall\fast
|
||||
|
||||
# clear depends
|
||||
depend:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 1
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : depend
|
||||
|
||||
# Convenience name for target.
|
||||
games\koala_seasons\CMakeFiles\koala_seasons.dir\rule:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f CMakeFiles\Makefile2 /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\rule
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : games\koala_seasons\CMakeFiles\koala_seasons.dir\rule
|
||||
|
||||
# Convenience name for target.
|
||||
koala_seasons: games\koala_seasons\CMakeFiles\koala_seasons.dir\rule
|
||||
|
||||
.PHONY : koala_seasons
|
||||
|
||||
# fast build rule for target.
|
||||
koala_seasons\fast:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\build
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : koala_seasons\fast
|
||||
|
||||
koala_seasons.obj: koala_seasons.c.obj
|
||||
|
||||
.PHONY : koala_seasons.obj
|
||||
|
||||
# target to build an object file
|
||||
koala_seasons.c.obj:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\koala_seasons.c.obj
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : koala_seasons.c.obj
|
||||
|
||||
koala_seasons.i: koala_seasons.c.i
|
||||
|
||||
.PHONY : koala_seasons.i
|
||||
|
||||
# target to preprocess a source file
|
||||
koala_seasons.c.i:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\koala_seasons.c.i
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : koala_seasons.c.i
|
||||
|
||||
koala_seasons.s: koala_seasons.c.s
|
||||
|
||||
.PHONY : koala_seasons.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
koala_seasons.c.s:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\koala_seasons.c.s
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : koala_seasons.c.s
|
||||
|
||||
screens\screen_ending.obj: screens\screen_ending.c.obj
|
||||
|
||||
.PHONY : screens\screen_ending.obj
|
||||
|
||||
# target to build an object file
|
||||
screens\screen_ending.c.obj:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_ending.c.obj
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_ending.c.obj
|
||||
|
||||
screens\screen_ending.i: screens\screen_ending.c.i
|
||||
|
||||
.PHONY : screens\screen_ending.i
|
||||
|
||||
# target to preprocess a source file
|
||||
screens\screen_ending.c.i:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_ending.c.i
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_ending.c.i
|
||||
|
||||
screens\screen_ending.s: screens\screen_ending.c.s
|
||||
|
||||
.PHONY : screens\screen_ending.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
screens\screen_ending.c.s:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_ending.c.s
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_ending.c.s
|
||||
|
||||
screens\screen_gameplay.obj: screens\screen_gameplay.c.obj
|
||||
|
||||
.PHONY : screens\screen_gameplay.obj
|
||||
|
||||
# target to build an object file
|
||||
screens\screen_gameplay.c.obj:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_gameplay.c.obj
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_gameplay.c.obj
|
||||
|
||||
screens\screen_gameplay.i: screens\screen_gameplay.c.i
|
||||
|
||||
.PHONY : screens\screen_gameplay.i
|
||||
|
||||
# target to preprocess a source file
|
||||
screens\screen_gameplay.c.i:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_gameplay.c.i
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_gameplay.c.i
|
||||
|
||||
screens\screen_gameplay.s: screens\screen_gameplay.c.s
|
||||
|
||||
.PHONY : screens\screen_gameplay.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
screens\screen_gameplay.c.s:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_gameplay.c.s
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_gameplay.c.s
|
||||
|
||||
screens\screen_logo.obj: screens\screen_logo.c.obj
|
||||
|
||||
.PHONY : screens\screen_logo.obj
|
||||
|
||||
# target to build an object file
|
||||
screens\screen_logo.c.obj:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_logo.c.obj
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_logo.c.obj
|
||||
|
||||
screens\screen_logo.i: screens\screen_logo.c.i
|
||||
|
||||
.PHONY : screens\screen_logo.i
|
||||
|
||||
# target to preprocess a source file
|
||||
screens\screen_logo.c.i:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_logo.c.i
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_logo.c.i
|
||||
|
||||
screens\screen_logo.s: screens\screen_logo.c.s
|
||||
|
||||
.PHONY : screens\screen_logo.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
screens\screen_logo.c.s:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_logo.c.s
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_logo.c.s
|
||||
|
||||
screens\screen_title.obj: screens\screen_title.c.obj
|
||||
|
||||
.PHONY : screens\screen_title.obj
|
||||
|
||||
# target to build an object file
|
||||
screens\screen_title.c.obj:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_title.c.obj
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_title.c.obj
|
||||
|
||||
screens\screen_title.i: screens\screen_title.c.i
|
||||
|
||||
.PHONY : screens\screen_title.i
|
||||
|
||||
# target to preprocess a source file
|
||||
screens\screen_title.c.i:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_title.c.i
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_title.c.i
|
||||
|
||||
screens\screen_title.s: screens\screen_title.c.s
|
||||
|
||||
.PHONY : screens\screen_title.s
|
||||
|
||||
# target to generate assembly for a file
|
||||
screens\screen_title.c.s:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(MAKE) -f games\koala_seasons\CMakeFiles\koala_seasons.dir\build.make /nologo -$(MAKEFLAGS) games\koala_seasons\CMakeFiles\koala_seasons.dir\screens\screen_title.c.s
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : screens\screen_title.c.s
|
||||
|
||||
# Help Target
|
||||
help:
|
||||
@echo The following are some of the valid targets for this Makefile:
|
||||
@echo ... all (the default if no target is provided)
|
||||
@echo ... clean
|
||||
@echo ... depend
|
||||
@echo ... koala_seasons
|
||||
@echo ... package
|
||||
@echo ... package_source
|
||||
@echo ... rebuild_cache
|
||||
@echo ... test
|
||||
@echo ... install
|
||||
@echo ... install/local
|
||||
@echo ... edit_cache
|
||||
@echo ... list_install_components
|
||||
@echo ... koala_seasons.obj
|
||||
@echo ... koala_seasons.i
|
||||
@echo ... koala_seasons.s
|
||||
@echo ... screens/screen_ending.obj
|
||||
@echo ... screens/screen_ending.i
|
||||
@echo ... screens/screen_ending.s
|
||||
@echo ... screens/screen_gameplay.obj
|
||||
@echo ... screens/screen_gameplay.i
|
||||
@echo ... screens/screen_gameplay.s
|
||||
@echo ... screens/screen_logo.obj
|
||||
@echo ... screens/screen_logo.i
|
||||
@echo ... screens/screen_logo.s
|
||||
@echo ... screens/screen_title.obj
|
||||
@echo ... screens/screen_title.i
|
||||
@echo ... screens/screen_title.s
|
||||
.PHONY : help
|
||||
|
||||
|
||||
|
||||
#=============================================================================
|
||||
# Special targets to cleanup operation of make.
|
||||
|
||||
# Special rule to run CMake to check the build system integrity.
|
||||
# No rule that depends on this can have commands that come from listfiles
|
||||
# because they might be regenerated.
|
||||
cmake_check_build_system:
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug"
|
||||
$(CMAKE_COMMAND) -S$(CMAKE_SOURCE_DIR) -B$(CMAKE_BINARY_DIR) --check-build-system CMakeFiles\Makefile.cmake 0
|
||||
cd "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons"
|
||||
.PHONY : cmake_check_build_system
|
||||
|
||||
166
cmake-build-debug/games/koala_seasons/koala_seasons.cbp
Normal file
166
cmake-build-debug/games/koala_seasons/koala_seasons.cbp
Normal file
|
|
@ -0,0 +1,166 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<CodeBlocks_project_file>
|
||||
<FileVersion major="1" minor="6"/>
|
||||
<Project>
|
||||
<Option title="koala_seasons"/>
|
||||
<Option makefile_is_custom="1"/>
|
||||
<Option compiler="msvc8"/>
|
||||
<Option virtualFolders="CMake Files\;CMake Files\src\;CMake Files\src\external\;CMake Files\src\external\glfw\;CMake Files\src\external\glfw\src\;CMake Files\cmake\;CMake Files\examples\;CMake Files\games\;CMake Files\games\drturtle\;CMake Files\games\just_do\;CMake Files\games\koala_seasons\;CMake Files\games\light_my_ritual\;CMake Files\games\skully_escape\;CMake Files\games\wave_collector\;"/>
|
||||
<Build>
|
||||
<Target title="all">
|
||||
<Option working_dir="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/games/koala_seasons"/>
|
||||
<Option type="4"/>
|
||||
<MakeCommands>
|
||||
<Build command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 all"/>
|
||||
<CompileFile command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="koala_seasons">
|
||||
<Option output="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/games/koala_seasons/koala_seasons.exe" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/games/koala_seasons"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="msvc8"/>
|
||||
<Compiler>
|
||||
<Add option="-DPLATFORM_DESKTOP"/>
|
||||
<Add option="-DGRAPHICS_API_OPENGL_33"/>
|
||||
<Add directory="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/src"/>
|
||||
<Add directory="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/include"/>
|
||||
<Add directory="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\ATLMFC\include"/>
|
||||
<Add directory="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 koala_seasons"/>
|
||||
<CompileFile command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
<Target title="koala_seasons/fast">
|
||||
<Option output="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/games/koala_seasons/koala_seasons.exe" prefix_auto="0" extension_auto="0"/>
|
||||
<Option working_dir="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/games/koala_seasons"/>
|
||||
<Option object_output="./"/>
|
||||
<Option type="1"/>
|
||||
<Option compiler="msvc8"/>
|
||||
<Compiler>
|
||||
<Add option="-DPLATFORM_DESKTOP"/>
|
||||
<Add option="-DGRAPHICS_API_OPENGL_33"/>
|
||||
<Add directory="A:/Documents/Work/NerdThings/Source Code/raylib/cmake-build-debug/src"/>
|
||||
<Add directory="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/include"/>
|
||||
<Add directory="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\ATLMFC\include"/>
|
||||
<Add directory="C:\Program Files (x86)\Microsoft Visual Studio\2019\Community\VC\Tools\MSVC\14.20.27508\include"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\NETFXSDK\4.6.1\include\um"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\ucrt"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\shared"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\um"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\winrt"/>
|
||||
<Add directory="C:\Program Files (x86)\Windows Kits\10\include\10.0.18362.0\cppwinrt"/>
|
||||
</Compiler>
|
||||
<MakeCommands>
|
||||
<Build command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 koala_seasons/fast"/>
|
||||
<CompileFile command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 "$file""/>
|
||||
<Clean command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 clean"/>
|
||||
<DistClean command="nmake /NOLOGO /f "A:\Documents\Work\NerdThings\Source Code\raylib\cmake-build-debug\games\koala_seasons\Makefile" VERBOSE=1 clean"/>
|
||||
</MakeCommands>
|
||||
</Target>
|
||||
</Build>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/koala_seasons/koala_seasons.c">
|
||||
<Option target="koala_seasons"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/koala_seasons/screens/screen_ending.c">
|
||||
<Option target="koala_seasons"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/koala_seasons/screens/screen_gameplay.c">
|
||||
<Option target="koala_seasons"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/koala_seasons/screens/screen_logo.c">
|
||||
<Option target="koala_seasons"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/koala_seasons/screens/screen_title.c">
|
||||
<Option target="koala_seasons"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/raylib.pc.in">
|
||||
<Option virtualFolder="CMake Files\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/CMakeOptions.txt">
|
||||
<Option virtualFolder="CMake Files\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/config.h.in">
|
||||
<Option virtualFolder="CMake Files\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\src\external\glfw\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/src/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\src\external\glfw\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/src/glfw3.pc.in">
|
||||
<Option virtualFolder="CMake Files\src\external\glfw\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/src/glfw3Config.cmake.in">
|
||||
<Option virtualFolder="CMake Files\src\external\glfw\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/src/external/glfw/src/glfw_config.h.in">
|
||||
<Option virtualFolder="CMake Files\src\external\glfw\src\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/AddIfFlagCompiles.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/BuildType.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/CheckFileSystemSymlinkSupport.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/EnumOption.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/LibraryPathToLinkerFlags.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/PopulateConfigVariablesLocally.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/cmake/raylib-config-version.cmake">
|
||||
<Option virtualFolder="CMake Files\cmake\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/examples/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\examples\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/drturtle/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\drturtle\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/just_do/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\just_do\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/koala_seasons/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\koala_seasons\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/light_my_ritual/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\light_my_ritual\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/skully_escape/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\skully_escape\"/>
|
||||
</Unit>
|
||||
<Unit filename="A:/Documents/Work/NerdThings/Source Code/raylib/games/wave_collector/CMakeLists.txt">
|
||||
<Option virtualFolder="CMake Files\games\wave_collector\"/>
|
||||
</Unit>
|
||||
</Project>
|
||||
</CodeBlocks_project_file>
|
||||
BIN
cmake-build-debug/games/koala_seasons/resources/audio/dash.ogg
Normal file
BIN
cmake-build-debug/games/koala_seasons/resources/audio/dash.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
BIN
cmake-build-debug/games/koala_seasons/resources/audio/jngl.xm
Normal file
BIN
cmake-build-debug/games/koala_seasons/resources/audio/jngl.xm
Normal file
Binary file not shown.
BIN
cmake-build-debug/games/koala_seasons/resources/audio/jump.ogg
Normal file
BIN
cmake-build-debug/games/koala_seasons/resources/audio/jump.ogg
Normal file
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
|
After Width: | Height: | Size: 2.3 MiB |
Binary file not shown.
|
After Width: | Height: | Size: 994 KiB |
Binary file not shown.
|
After Width: | Height: | Size: 179 KiB |
|
|
@ -0,0 +1,25 @@
|
|||
#version 100
|
||||
|
||||
// Input vertex attributes
|
||||
attribute vec3 vertexPosition;
|
||||
attribute vec2 vertexTexCoord;
|
||||
attribute vec4 vertexColor;
|
||||
|
||||
// Input uniform values
|
||||
uniform mat4 mvp;
|
||||
|
||||
// Output vertex attributes (to fragment shader)
|
||||
varying vec2 fragTexCoord;
|
||||
varying vec4 fragColor;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
void main()
|
||||
{
|
||||
// Send vertex attributes to fragment shader
|
||||
fragTexCoord = vertexTexCoord;
|
||||
fragColor = vertexColor;
|
||||
|
||||
// Calculate final vertex position
|
||||
gl_Position = mvp*vec4(vertexPosition, 1.0);
|
||||
}
|
||||
|
|
@ -0,0 +1,63 @@
|
|||
#version 100
|
||||
|
||||
precision mediump float;
|
||||
|
||||
// Input vertex attributes (from vertex shader)
|
||||
varying vec2 fragTexCoord;
|
||||
varying vec4 fragColor;
|
||||
|
||||
// Input uniform values
|
||||
uniform sampler2D texture0;
|
||||
uniform vec4 colDiffuse;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
vec3 BlendOverlay(vec3 base, vec3 blend)
|
||||
{
|
||||
float red;
|
||||
float green;
|
||||
float blue;
|
||||
|
||||
if (base.r < 0.5) red = 2.0*base.r*blend.r;
|
||||
else red = 1.0 - 2.0*(1.0 - base.r)*(1.0 - blend.r);
|
||||
|
||||
if (base.g < 0.5) green = 2.0*base.g*blend.g;
|
||||
else green = 1.0 - 2.0 *(1.0 - base.g)*(1.0 - blend.g);
|
||||
|
||||
if (base.b < 0.5) blue = 2.0*base.b*blend.b;
|
||||
else blue = 1.0 - 2.0 *(1.0 - base.b)*(1.0 - blend.b);
|
||||
|
||||
return vec3(red, green, blue);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
// Blending Overlay
|
||||
vec4 base = texture2D(texture0, fragTexCoord);
|
||||
|
||||
// No blending shader -> 64 FPS (1280x720)
|
||||
//gl_FragColor = base*fragColor;
|
||||
|
||||
// Option01 -> 50 FPS (1280x720), 200 FPS (640x360)
|
||||
vec3 final = BlendOverlay(base.rgb, fragColor.rgb);
|
||||
gl_FragColor = vec4(final.rgb, base.a*fragColor.a);
|
||||
|
||||
// Option02 (Doesn't work) -> 63 FPS (1280x720)
|
||||
//float luminance = (base.r*0.2126) + (base.g*0.7152) + (base.b*0.0722);
|
||||
//gl_FragColor = vec4(tint*luminance, base.a);
|
||||
|
||||
// Option03 (no branches, precalculated ifs) -> 28 FPS (1280x720)
|
||||
/*
|
||||
vec4 blend = fragColor;
|
||||
//if (base.a == 0.0) discard; // No improvement
|
||||
vec3 br = clamp(sign(base.rgb - vec3(0.5)), vec3(0.0), vec3(1.0));
|
||||
vec3 multiply = 2.0 * base.rgb * blend.rgb;
|
||||
vec3 screen = vec3(1.0) - 2.0 * (vec3(1.0) - base.rgb)*(vec3(1.0) - blend.rgb);
|
||||
vec3 overlay = mix(multiply, screen, br);
|
||||
vec3 finalColor = mix(base.rgb, overlay, blend.a);
|
||||
gl_FragColor = vec4(finalColor, base.a);
|
||||
*/
|
||||
|
||||
// Option04 (no branches, using built-in functions) -> 38 FPS (1280x720)
|
||||
//gl_FragColor = vec4(mix(1 - 2*(1 - base.rgb)*(1 - tint), 2*base.rgb*tint, step(0.5, base.rgb)), base.a);
|
||||
}
|
||||
|
|
@ -0,0 +1,25 @@
|
|||
#version 330
|
||||
|
||||
// Input vertex attributes
|
||||
in vec3 vertexPosition;
|
||||
in vec2 vertexTexCoord;
|
||||
in vec4 vertexColor;
|
||||
|
||||
// Input uniform values
|
||||
uniform mat4 mvp;
|
||||
|
||||
// Output vertex attributes (to fragment shader)
|
||||
out vec2 fragTexCoord;
|
||||
out vec4 fragColor;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
void main()
|
||||
{
|
||||
// Send vertex attributes to fragment shader
|
||||
fragTexCoord = vertexTexCoord;
|
||||
fragColor = vertexColor;
|
||||
|
||||
// Calculate final vertex position
|
||||
gl_Position = mvp*vec4(vertexPosition, 1.0);
|
||||
}
|
||||
|
|
@ -0,0 +1,64 @@
|
|||
#version 330
|
||||
|
||||
// Input vertex attributes (from vertex shader)
|
||||
in vec2 fragTexCoord;
|
||||
in vec4 fragColor;
|
||||
|
||||
// Input uniform values
|
||||
uniform sampler2D texture0;
|
||||
uniform vec4 colDiffuse;
|
||||
|
||||
// Output fragment color
|
||||
out vec4 finalColor;
|
||||
|
||||
// NOTE: Add here your custom variables
|
||||
|
||||
vec3 BlendOverlay(vec3 base, vec3 blend)
|
||||
{
|
||||
float red;
|
||||
float green;
|
||||
float blue;
|
||||
|
||||
if (base.r < 0.5) red = 2.0*base.r*blend.r;
|
||||
else red = 1.0 - 2.0*(1.0 - base.r)*(1.0 - blend.r);
|
||||
|
||||
if (base.g < 0.5) green = 2.0*base.g*blend.g;
|
||||
else green = 1.0 - 2.0 *(1.0 - base.g)*(1.0 - blend.g);
|
||||
|
||||
if (base.b < 0.5) blue = 2.0*base.b*blend.b;
|
||||
else blue = 1.0 - 2.0 *(1.0 - base.b)*(1.0 - blend.b);
|
||||
|
||||
return vec3(red, green, blue);
|
||||
}
|
||||
|
||||
void main()
|
||||
{
|
||||
// Blending Overlay
|
||||
vec4 base = texture2D(texture0, fragTexCoord);
|
||||
|
||||
// No blending shader -> 64 FPS (1280x720)
|
||||
//gl_FragColor = base*tintColor;
|
||||
|
||||
// Option01 -> 50 FPS (1280x720), 200 FPS (640x360)
|
||||
vec3 final = BlendOverlay(base.rgb, fragColor.rgb);
|
||||
finalColor = vec4(final.rgb, base.a*fragColor.a);
|
||||
|
||||
// Option02 (Doesn't work) -> 63 FPS (1280x720)
|
||||
//float luminance = (base.r*0.2126) + (base.g*0.7152) + (base.b*0.0722);
|
||||
//gl_FragColor = vec4(tintColor.rgb*luminance, base.a);
|
||||
|
||||
// Option03 (no branches, precalculated ifs) -> 28 FPS (1280x720)
|
||||
/*
|
||||
vec4 blend = tintColor;
|
||||
//if (base.a == 0.0) discard; // No improvement
|
||||
vec3 br = clamp(sign(base.rgb - vec3(0.5)), vec3(0.0), vec3(1.0));
|
||||
vec3 multiply = 2.0 * base.rgb * blend.rgb;
|
||||
vec3 screen = vec3(1.0) - 2.0 * (vec3(1.0) - base.rgb)*(vec3(1.0) - blend.rgb);
|
||||
vec3 overlay = mix(multiply, screen, br);
|
||||
vec3 finalColor = mix(base.rgb, overlay, blend.a);
|
||||
gl_FragColor = vec4(finalColor, base.a);
|
||||
*/
|
||||
|
||||
// Option04 (no branches, using built-in functions) -> 38 FPS (1280x720)
|
||||
//gl_FragColor = vec4(mix(1 - 2*(1 - base.rgb)*(1 - tintColor.rgb), 2*base.rgb*tintColor.rgb, step(0.5, base.rgb)), base.a);
|
||||
}
|
||||
Loading…
Reference in a new issue