-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix save data not saving correctly sometimes, update default material…
…s to use bools instead of ints.
- Loading branch information
1 parent
f53877e
commit 0d8ef1e
Showing
12 changed files
with
31 additions
and
30 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
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,12 +1,12 @@ | ||
// Default material parameters: | ||
string VertexShader = basic.vert | ||
string FragmentShader = basic.frag | ||
int UseShadowCutout = 0 | ||
int IsTranslucent = 0 | ||
bool UseShadowCutout = 0 | ||
bool IsTranslucent = 0 | ||
|
||
// Material specific parameters: | ||
vector3 u_diffuse = <1 0.5 0> | ||
float u_specularSize = 0 | ||
float u_specularStrength = 0 | ||
vector3 u_emissive = <0 0 0> | ||
int u_useTexture = 0 | ||
bool u_useTexture = 0 |
6 changes: 3 additions & 3 deletions
6
EditorContent/Materials/CollisionVisualize/DynamicPhysicsBody.jsmat
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,12 +1,12 @@ | ||
// Default material parameters: | ||
string VertexShader = basic.vert | ||
string FragmentShader = basic.frag | ||
int UseShadowCutout = 0 | ||
int IsTranslucent = 0 | ||
bool UseShadowCutout = 0 | ||
bool IsTranslucent = 0 | ||
|
||
// Material specific parameters: | ||
vector3 u_diffuse = <0 1 0.5> | ||
float u_specularSize = 0 | ||
float u_specularStrength = 0 | ||
vector3 u_emissive = <0 0 0> | ||
int u_useTexture = 0 | ||
bool u_useTexture = 0 |
6 changes: 3 additions & 3 deletions
6
EditorContent/Materials/CollisionVisualize/KinematicPhyiscsBody.jsmat
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,12 +1,12 @@ | ||
// Default material parameters: | ||
string VertexShader = basic.vert | ||
string FragmentShader = basic.frag | ||
int UseShadowCutout = 0 | ||
int IsTranslucent = 0 | ||
bool UseShadowCutout = 0 | ||
bool IsTranslucent = 0 | ||
|
||
// Material specific parameters: | ||
vector3 u_diffuse = <0 0.5 1> | ||
float u_specularSize = 0 | ||
float u_specularStrength = 0 | ||
vector3 u_emissive = <0 0 0> | ||
int u_useTexture = 0 | ||
bool u_useTexture = 0 |
6 changes: 3 additions & 3 deletions
6
EditorContent/Materials/CollisionVisualize/StaticPhysicsBody.jsmat
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,12 +1,12 @@ | ||
// Default material parameters: | ||
string VertexShader = basic.vert | ||
string FragmentShader = basic.frag | ||
int UseShadowCutout = 0 | ||
int IsTranslucent = 0 | ||
bool UseShadowCutout = 0 | ||
bool IsTranslucent = 0 | ||
|
||
// Material specific parameters: | ||
vector3 u_diffuse = <1 0.2 0> | ||
float u_specularSize = 0 | ||
float u_specularStrength = 0 | ||
vector3 u_emissive = <0 0 0> | ||
int u_useTexture = 0 | ||
bool u_useTexture = 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
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