question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

(Realtime postprocess + Compositor) PPComp warnings

See original GitHub issue

this three.js webgl2 example here is working fine on iOS 14.2 : https://threejs.org/examples/?q=webgl2#webgl2_volume_instancing but exporting to html5/webgl2 (or webgl1 with legacy shaders) with Armory3D you will get a black screen on iOS 14.2. On iOS 13.3.1 everything works fine.

I also get the below errors in the web dev console now (not sure if related to this issue) :

[Log] kha/graphics4/PipelineState.hx:96: Warning: Uniform PPComp3 not found. (kha.js, line 1)
[Log] kha/graphics4/PipelineState.hx:96: Warning: Uniform PPComp5 not found. (kha.js, line 1)
[Log] kha/graphics4/PipelineState.hx:96: Warning: Uniform PPComp6 not found. (kha.js, line 1)
[Log] kha/graphics4/PipelineState.hx:96: Warning: Uniform PPComp7 not found. (kha.js, line 1)
[Log] kha/graphics4/PipelineState.hx:96: Warning: Uniform PPComp8 not found. (kha.js, line 1)
[Error] WebGL: INVALID_ENUM: texParameter: invalid parameter name
	texParameteri
	setTextureCompareMode (kha.js:1:944491)
	(anonymous function) (kha.js:1:385507)
	(anonymous function) (kha.js:1:382557)
	render (kha.js:1:352629)
	submitDraw (kha.js:1:223761)
	drawMeshes (kha.js:1:222697)
	(anonymous function) (kha.js:1:59468)
	(anonymous function) (kha.js:1:60281)
	renderFrame (kha.js:1:219169)
	renderFrame (kha.js:1:321235)
	renderFrame (kha.js:1:101139)
	(anonymous function) (kha.js:1:73571)
	(anonymous function) (kha.js:1:520512)
	animate (kha.js:1:530955)

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:7 (4 by maintainers)

github_iconTop GitHub Comments

3reactions
RobDangerouscommented, Dec 15, 2020

Hey, @onelsonic just reminded me that I forgot to comment here by closing https://github.com/Kode/Kha/issues/1274 The constants were added manually because they didn’t yet exist in the Haxe API. They are on the top of the file, should be fine that way. The warnings listed here also look very much like a very different problem. Can’t test iOS 14 things myself yet though and off-by-default browser features are not a priority.

3reactions
MoritzBruecknercommented, Dec 12, 2020

Just a guess, but I think there might be a typo here:

https://github.com/Kode/Kha/blob/b4fb18402b04675146b1d0770d6cce4f30b36de6/Backends/HTML5/kha/js/graphics4/Graphics.hx#L445

Instead of GL_COMPARE_REF_TO_TEXTURE the parameter should probably be called GL.COMPARE_REF_TO_TEXTURE according to the webgl documentation. The same error probably also occurs in setCubeMapCompareMode() a few lines below that. Also, in the Haxe js API it seems that this parameter is only available on webgl2 and not on webgl1 which is imported in the file linked above.

@RobDangerous Maybe you can help us here? Is this a Kha issue?

@onelsonic Can you share the kha.js file? If you recompiled the project in between and the lines in the error message changed, please also paste the new error message alongside the file.

Read more comments on GitHub >

github_iconTop Results From Across the Web

file: tm2031752d1_ex99-1.htm - SEC.gov
Residents live a largely subsistence lifestyle with incomes ... as well as the final post-processing work, was completed between June and ...
Read more >
harbour) * ChangeLog - GitHub
This modification should also pacify warnings generated by recent GCC versions ... src/compiler/ppcomp.c + allow to change -gc? switch by #pragma directives ...
Read more >
Arctic Feasibility Study - Mining Data Online
anomalous high-grade sample data, composited to 2 m intervals, are controlled by limiting the distance of influence during block grade ...
Read more >
Future Information Technology - Springer Link
An Approach to Real-time Region Detection Algorithm using ... Combining Mobile Context-Awareness and Real-Time AR (Augmented.
Read more >
PHRASEOLOGY IN SPECIALIZED LANGUAGE AND ITS ...
Autor : Miriam Buendía Castro. D.L.: GR 1906-2013 ... (http://www.webcorp.org.uk/live/) y el de la editorial Springer, Exemplar.
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found