Shader: Texture Splatting

Previous topic - Next topic

BennyBy

Hi Leute!

Wollte mal wissen, ob GLBasic Texture Splatting unterstützt. Bräuchte das für ein iOS Projekt. Wenn das schonmal jemand gemacht hat wär ein Beispiel sehr hilfreich.  :nw:

Btw: Sind Shader bei iOS mittlerweile erlaubt?

MfG,
Benny

Schranz0r

Bei sowas würde ich es per CREATESCREEN und dann grabben als Textur!

Waren shader je verboten bei iOS ?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

kanonet

X_SETTEXTURE setzt doch zwei Texturen, kannst du damit nicht etwas vergleichbares erreichen?

Soweit ich weiß basiert iOS auf OpenGL ES und unterstützt damit keine Shader.
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Schranz0r

Wie werden dann die 3D-Games mit Shader gemacht?
Gibts da noch was anderes als OpenGL was da rennt?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

kanonet

OpenGL unterstützt Shader, aber OpenGL ES (<2.0) nicht.
Siehe http://de.wikipedia.org/wiki/OpenGL_ES
Lenovo Thinkpad T430u: Intel i5-3317U, 8GB DDR3, NVidia GeForce 620M, Micron RealSSD C400 @Win7 x64

Schranz0r

sry aber ich kenn mich bei Iphones nicht so aus :)

Das das neue 4er  >2.0 ES ?
I <3 DGArray's :D

PC:
AMD Ryzen 7 3800X 16@4.5GHz, 16GB Corsair Vengeance LPX DDR4-3200 RAM, ASUS Dual GeForce RTX™ 3060 OC Edition 12GB GDDR6, Windows 11 Pro 64Bit, MSi Tomahawk B350 Mainboard

Slydog

Sorry, the English translation isn't very clear as to what is being discussed.

I'm fairly certain that GLB supports shaders on iOS, but ONLY OpenGL ES 1.1 shaders. (Not 2.0 or higher)
This limits you to vertex only effects I think.

Also, GLbasic allows you to control the OpenGL directly, so anything that you can do in OpenGL, you should be able to do in GLBasic using inline C++.
My current project (WIP) :: TwistedMaze <<  [Updated: 2015-11-25]