update readme

This commit is contained in:
2023-11-27 12:51:33 +03:00
parent edd45ad8bb
commit 741c448940
2 changed files with 12 additions and 2 deletions

View File

@@ -44,10 +44,15 @@
10. Look at the result in the game. Render supports reloading materials on the fly through the console command `rt_debug_reload_patches` (`bind g rt_debug_reload_patches`), but if you want to change the same texture you need to temporarily add to the material line `"force_reload" "1"` (at the moment render can not determine itself changed texture or not).
11. When the material is ready, commit the change to your fork and put a pull-request in the main repository. If you did everything correctly, your changes will go into the main repository. Afterwards, you can reset your repository to the current main repository stage:
11. When the material is ready, commit the change to your fork and put a pull-request in the main repository. If you did everything correctly, your changes will go into the main repository.
12. From time to time you should update your repository to the current state of the main repository:
```bash
git remote add upstream https://rtxash.omgwtf.ru/Half-Life-RTX/Half-Life-PBR
git pull upstream master
# if something goes wrong you can reset your repository
git fetch upstream
git checkout master
git reset --hard upstream/master