Rename batching project settings in preparation for GLES3 #39068
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Project Settings
As it now seems like we will soon have GLES3 batching working using the same intermediate layer as GLES2, it makes more sense to reuse the same batching settings for both renderers rather than duplicate project settings for GLES2 and GLES3.
Light scissoring area threshold
I've also made a very slight tweak, that I'm interested in opinions on. The light scissor area threshold is currently a value between 0.0 and 1.0, being the fraction of the screen area that needs to be 'saved' by a scissor operation in order to activate scissoring.
Although this is simpler to understand(!) it does meant that many of the useful values are very close to 0.0 : i.e. 0.01 and thereabouts, which represents 1 hundredth of the screen area. In order to make this more 'editable' I've experimented here with changing this to a power of 4 relationship.
i.e. value 0.3 ^ 4 = 0.0081
Anyway I'm open to suggestions / changes on that front. It's hard to explain anyway aside from it being a vague figure between no scissoring and full scissoring.
Notes
Preview