is it doable to organize a generic bump map shader for use by (injected at) any 3D sport?

is it doable to organize a generic bump map shader for use by (injected at) any 3D sport?

[ad_1]

is it doable to organize a generic bump map shader for use by any 3D sport?

I discovered this bump map shader: https://medium.com/@aarhed/bump-map-shader-8b662f18c62 (might I paste that shader right here?)

I need to let Arx Libertatis use that shader, however I would love additionally to let different 3D video games that should not have it, to have the ability to use it too see https://github.com/OpenSourcedGames .

The one manner is to adapt that shader inside the sport engine, so the sport engine itself ship it to the GPU?

Or is it doable to compile a generic bump map shader just like the above, load it into the GPU (whereas or earlier than the sport begin to run) and power the GPU to use that shader to particular 3D video games? It could be like injecting a shader right into a sport I assume.

Whether it is doable, any ideas how ought to I begin doing it? the simplest manner if doable, as I’m very new to shaders.

Obs.: under, I’m not proscribing the reply to linux. If the reply also can work on linux, it will be higher tho.
PS.: I simply discovered about ENB, however it doesnt work on linux. There may be this http://enbdev.com/mod_tesskyrimse_v0499.htm that might work on linux (there’s a linux instruction folder inside it. any newer model might have it too) however it requires Wine, and subsequently a home windows compiled sport binary, and I develop initiatives on linux, compiled for linux.
So, What I imply is, until there’s some equal to ENB that works on linux (could also be Mac) too, my most important request/query is how can I do it myself as a substitute of utilizing some prepared instrument.

[ad_2]

Comments

No comments yet. Why don’t you start the discussion?

Leave a Reply