Skip to content

Commit 0839688

Browse files
committed
Removed shadows for debugging
1 parent adeb12d commit 0839688

5 files changed

Lines changed: 2 additions & 5 deletions

File tree

Blobtory/Scripts/Main.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -22,6 +22,7 @@ def __init__(self):
2222
self.scene: SceneBuilder = SceneBuilder(self.winCreator)
2323

2424

25+
loadPrcFileData('', 'framebuffer-srgb #t')
2526
loadPrcFileData('', 'framebuffer-multisample 0')
2627
loadPrcFileData('', 'multisamples 1')
2728
loadPrcFileData('', 'sync-video false')

assets/shaders/planets/planet.frag

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ void main() {
8181

8282
for (int i = 0; i < p3d_LightSource.length(); i++) {
8383
float shadowScale = 1;
84-
shadowScale = textureProj(p3d_LightSource[i].shadowMap, shadow_uv[i]);
84+
//shadowScale = textureProj(p3d_LightSource[i].shadowMap, shadow_uv[i]);
8585
//shadowScale = textureProjSoft(p3d_LightSource[i].shadowMap, shadow_uv[i], 0.0001, 0.001);
8686
vec3 lightDir = p3d_LightSource[i].position.xyz;
8787
if (p3d_LightSource[i].position.w != 0) {

config/Config.prc

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@
1212
# back to the next display module indicated by aux-display,
1313
# when that fails, the next aux-display line, and so on.
1414

15-
sync-video false #f
1615
#gl-debug #t
1716
load-display pandagl
1817
#load-display pandadx9
@@ -22,9 +21,6 @@ load-display pandagl
2221
# A value of -2 for the origin means to center it on the screen,
2322
# while -1 lets the window manager choose the position.
2423

25-
framebuffer-srgb #t
26-
#framebuffer-multisample 1
27-
2824
win-origin -2 -2
2925
win-size 1600 900
3026

docs/Concept Art/mainchar.kra

5.38 MB
Binary file not shown.

docs/Concept Art/mainchar.kra~

3.05 MB
Binary file not shown.

0 commit comments

Comments
 (0)