Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
godot
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
community
godot
Commits
4c55a909
Commit
4c55a909
authored
May 25, 2019
by
clayjohn
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix radiance map settings
parent
5c1cce6e
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
3 additions
and
3 deletions
+3
-3
rasterizer_storage_gles3.cpp
drivers/gles3/rasterizer_storage_gles3.cpp
+1
-1
cubemap_filter.glsl
drivers/gles3/shaders/cubemap_filter.glsl
+1
-1
sky.cpp
scene/resources/sky.cpp
+1
-1
No files found.
drivers/gles3/rasterizer_storage_gles3.cpp
View file @
4c55a909
...
...
@@ -8158,7 +8158,7 @@ void RasterizerStorageGLES3::initialize() {
}
shaders
.
cubemap_filter
.
init
();
bool
ggx_hq
=
GLOBAL_GET
(
"rendering/quality/reflections/high_quality_ggx
.mobile
"
);
bool
ggx_hq
=
GLOBAL_GET
(
"rendering/quality/reflections/high_quality_ggx"
);
shaders
.
cubemap_filter
.
set_conditional
(
CubemapFilterShaderGLES3
::
LOW_QUALITY
,
!
ggx_hq
);
shaders
.
particles
.
init
();
...
...
drivers/gles3/shaders/cubemap_filter.glsl
View file @
4c55a909
...
...
@@ -163,7 +163,7 @@ vec2 Hammersley(uint i, uint N) {
#else
#define SAMPLE_COUNT
512
u
#define SAMPLE_COUNT
1024
u
#endif
...
...
scene/resources/sky.cpp
View file @
4c55a909
...
...
@@ -62,7 +62,7 @@ void Sky::_bind_methods() {
}
Sky
::
Sky
()
{
radiance_size
=
RADIANCE_SIZE_
512
;
radiance_size
=
RADIANCE_SIZE_
128
;
}
/////////////////////////////////////////
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment