Permalink
Browse files

gliden64: Use config file to change polygon offset value

  • Loading branch information...
Gillou68310
Gillou68310 committed Jul 6, 2015
1 parent 24af50d commit f5fc6a04961cbb3747db304a31c33323217ff679
Showing with 3 additions and 0 deletions.
  1. +3 −0 src/paulscode/android/mupen64plusae/jni/NativeConfigFiles.java
@@ -163,6 +163,9 @@ public static void syncConfigFiles( GamePrefs game, GlobalPrefs global, AppData
putGliden64( mupen64plus_cfg, game, "bloomBlendMode", "0" ); // Bloom blend mode (0=Strong, 1=Mild, 2=Light)
putGliden64( mupen64plus_cfg, game, "blurAmount", "10" ); // Blur radius. Values [2, 10]
putGliden64( mupen64plus_cfg, game, "blurStrength", "20" ); // Blur strength. Values [10, 100]
mupen64plus_cfg.put( "Video-GLideN64", "ForcePolygonOffset", boolToTF( global.isPolygonOffsetHackEnabled ) ); // If true, use polygon offset values specified below
mupen64plus_cfg.put( "Video-GLideN64", "PolygonOffsetFactor", String.valueOf( global.videoPolygonOffset ) ); // Specifies a scale factor that is used to create a variable depth offset for each polygon
mupen64plus_cfg.put( "Video-GLideN64", "PolygonOffsetUnits", String.valueOf( global.videoPolygonOffset ) ); // Is multiplied by an implementation-specific value to create a constant depth offset
mupen64plus_cfg.put( "Video-Rice", "ForcePolygonOffset", boolToTF( global.isPolygonOffsetHackEnabled ) ); // If true, use polygon offset values specified below
mupen64plus_cfg.put( "Video-Rice", "PolygonOffsetFactor", String.valueOf( global.videoPolygonOffset ) ); // Specifies a scale factor that is used to create a variable depth offset for each polygon

0 comments on commit f5fc6a0

Please sign in to comment.