Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

Fixed pssm glitches #2889

Merged
merged 1 commit into from
Apr 2, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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