Skip to content

Commit

Permalink
fixed pssm glitches
Browse files Browse the repository at this point in the history
  • Loading branch information
tritonas00 authored and AnotherFoxGuy committed Apr 2, 2022
1 parent fe6e9fe commit 4bb7bae
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 0 deletions.
6 changes: 6 additions & 0 deletions resources/managed_materials/managed_mats_vehicles.material
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,7 @@ material managed/flexmesh_standard/simple
//Texture is rendred here
pass BaseRender
{
depth_bias -0.1 -0.1
texture_unit Diffuse_Map
{
texture_alias unknown.dds
Expand All @@ -23,6 +24,7 @@ material managed/flexmesh_standard/damageonly
//Texture is rendred here
pass BaseRender
{
depth_bias -0.1 -0.1
diffuse vertexcolour
texture_unit Diffuse_Map
{
Expand All @@ -46,6 +48,7 @@ material managed/flexmesh_standard/specularonly
//Texture is rendred here
pass BaseRender
{
depth_bias -0.1 -0.1
texture_unit Diffuse_Map
{
texture_alias unknown.dds
Expand All @@ -65,6 +68,7 @@ material managed/flexmesh_standard/speculardamage
//Texture is rendred here
pass BaseRender
{
depth_bias -0.1 -0.1
diffuse vertexcolour
texture_unit Diffuse_Map
{
Expand All @@ -91,6 +95,7 @@ material managed/mesh_standard/simple
//Texture is rendred here
pass BaseRender
{
depth_bias -0.1 -0.1
texture_unit Diffuse_Map
{
texture_alias unknown.dds
Expand All @@ -106,6 +111,7 @@ material managed/mesh_standard/specular
//Texture is rendred here
pass BaseRender
{
depth_bias -0.1 -0.1
texture_unit Diffuse_Map
{
texture_alias unknown.dds
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ abstract technique Shadows/managed/base_receiver
{
ambient 1 1 1 1
diffuse 1 1 1 1
depth_bias 0.1 0.1

vertex_program_ref PSSM/shadow_receiver_vs {}
fragment_program_ref PSSM/shadow_receiver_ps {}
Expand Down
1 change: 1 addition & 0 deletions resources/materials/character.material
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ material tracks/character: RoR/Managed_Mats/Base
{
pass BaseRender
{
depth_bias -20
texture_unit Diffuse_Map 1
{
texture character.dds
Expand Down

0 comments on commit 4bb7bae

Please # to comment.