-
Notifications
You must be signed in to change notification settings - Fork 50
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #254 from jebbyk/newPBR
New pbr
- Loading branch information
Showing
18 changed files
with
148 additions
and
143 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,8 @@ | ||
#define TEXTURE_ATLAS_DIMENSION vec2(64.0, 32.0) // Number of rows and columns in texture atlas. Don't Change these values unless you know what you are doing | ||
// this file is used to configure OSBES to properly read textures | ||
#define TEXTURE_PADDING 1.0 | ||
|
||
#define WATER_NORMAL_MAP_RESOLUTION 16.0 | ||
#define WATER_NORMAL_OFFSET vec2(0.0, 0.0) | ||
|
||
#define NOISE_MAP_RESOLUTION 16.0 | ||
#define NOISE_MAP_OFFSET vec2(16.0, 0.0) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
// #define PBR_FEATURE_ENABLED // comment this line if you are using simple (non pbr) texture pack | ||
// this file is used to enable PBR texture mapping in OSBES | ||
// #define PBR_FEATURE_ENABLED // comment this line if you are using simple (non pbr) texture pack |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#define NORMAL_MAP_STRENGTH 1.0 | ||
#define PARALLAX_DEPTH 0.001 | ||
#define PARALLAX_DEPTH 2.0 | ||
#define WATER_NORMAL_MAP_STRENGTH 0.125 | ||
#define PUDDLES_AMOUNT 1.5 | ||
#define RAIN_MIN_WETNESS 0.5 |
Oops, something went wrong.