Skip to content

Commit

Permalink
make ShaderBall meshes double sided
Browse files Browse the repository at this point in the history
  • Loading branch information
cpichard committed Sep 18, 2024
1 parent 907d5f1 commit 4eed061
Show file tree
Hide file tree
Showing 4 changed files with 28 additions and 0 deletions.
6 changes: 6 additions & 0 deletions full_assets/StandardShaderBall/layers/environment.usda
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,7 @@ def Xform "standard_shader_ball_scene" (

def Mesh "grid"
{
uniform bool doubleSided = 1
float3[] extent = [(-50, 0, -50), (50, 0, 50)]
int[] faceVertexCounts = [3, 3]
int[] faceVertexIndices = [0, 3, 1, 3, 0, 2]
Expand Down Expand Up @@ -172,6 +173,7 @@ def Xform "standard_shader_ball_scene" (
prepend apiSchemas = ["MaterialBindingAPI"]
)
{
uniform bool doubleSided = 1
float3[] extent = [(-50, 0, 50), (50, 75.8639, 50)]
int[] faceVertexCounts = [3, 3]
int[] faceVertexIndices = [0, 3, 1, 3, 0, 2]
Expand All @@ -191,6 +193,7 @@ def Xform "standard_shader_ball_scene" (
prepend apiSchemas = ["MaterialBindingAPI"]
)
{
uniform bool doubleSided = 1
float3[] extent = [(50, 0, -50), (50, 75.8639, 50)]
int[] faceVertexCounts = [3, 3]
int[] faceVertexIndices = [0, 3, 1, 3, 0, 2]
Expand All @@ -210,6 +213,7 @@ def Xform "standard_shader_ball_scene" (
prepend apiSchemas = ["MaterialBindingAPI"]
)
{
uniform bool doubleSided = 1
float3[] extent = [(-50, 75.8639, -50), (50, 75.8639, 50)]
int[] faceVertexCounts = [3, 3]
int[] faceVertexIndices = [0, 3, 2, 3, 0, 1]
Expand All @@ -229,6 +233,7 @@ def Xform "standard_shader_ball_scene" (
prepend apiSchemas = ["MaterialBindingAPI"]
)
{
uniform bool doubleSided = 1
float3[] extent = [(-50, 0, -50), (50, 75.8639, -50)]
int[] faceVertexCounts = [3, 3]
int[] faceVertexIndices = [0, 3, 1, 3, 0, 2]
Expand All @@ -248,6 +253,7 @@ def Xform "standard_shader_ball_scene" (
prepend apiSchemas = ["MaterialBindingAPI"]
)
{
uniform bool doubleSided = 1
float3[] extent = [(-50, 0, -50), (-50, 75.8639, 50)]
int[] faceVertexCounts = [3, 3]
int[] faceVertexIndices = [0, 3, 1, 3, 0, 2]
Expand Down
20 changes: 20 additions & 0 deletions full_assets/StandardShaderBall/layers/shaderball.usda

Large diffs are not rendered by default.

Large diffs are not rendered by default.

Large diffs are not rendered by default.

0 comments on commit 4eed061

Please sign in to comment.