English Can someone do shaders mod?

24 replies
Goto Page
To the start Previous 1 2 Next To the start
09.06.16 03:47:05 pm
Up
cracker
User
Offline Off
hi guys

i got bored from the cs2d potato graphics so i'm asking if someone can make shaders mod

ty
09.06.16 03:58:13 pm
Up
Infinite Rain
Reviewer
Offline Off
It's impossible.
A thousand may fall at your side, ten thousand at your right hand, but it will not come near you. You will only look with your eyes and see the recompense of the wicked. - Psalm 91:7-8 ESV
09.06.16 04:23:11 pm
Up
Gaios
Security Supporter
Offline Off
@user Infinite Rain: It's possible.
09.06.16 04:47:03 pm
Up
Chingy
User
Offline Off
It may be possible
09.06.16 04:48:10 pm
Up
SmD
User
Offline Off
No one knows if its possible.
09.06.16 05:04:21 pm
Up
Axelord
BANNED
Offline Off
user cracker has written:
hi guys

i got bored from the cs2d potato graphics so i'm asking if someone can make shaders mod


omg, its a 2d game, you expected? having gta v graphics or cod bo3?

to have more graphics, they would have to change the engine that drive the game, and is quite hard work for developers.

the best you can do is play with all the best of graphics and configuration, you should not complain being that it is a free game: P
09.06.16 05:26:03 pm
Up
SQ
Moderator
Offline Off
What shaders thing do you mean? It's a 2D game for god sake.
You can call lightblend, shadeblend, maskblend image mode a shader.
09.06.16 06:01:37 pm
Up
Starkkz
Moderator
Offline Off
@to everyone: He probably meant being able to use the OpenGL Shaders programming language.

@user Axelord: löve is a 2D game engine and it does support shaders, it's not a GTA V or BO3 like-engine.
https://love2d.org/wiki/Shader

@user cracker: I had already suggested this before, I think, there's a library for Shaders on BlitzMax but user SQ rejected this idea due to it's instability.
lol
09.06.16 06:04:44 pm
Up
Arnet
Super User
Offline Off
I think he is asking about this
IMG:http://www.adweek.com/socialtimes/wp-content/uploads/sites/2/2013/08/yoyogames-650.jpg


And shaders are not limited to big games only.
09.06.16 06:20:03 pm
Up
SQ
Moderator
Offline Off
@user Arnet: What the right one has to do with shaders? I'm sorry, I'm graphics guy at Unity and I do not understand this. Ah, just being sarcastic, that effect is achieved through different sprites, otherwise it would be waste of GPU performance.
09.06.16 06:49:04 pm
Up
DC
Admin
Offline Off
A little site note regarding those 2d/3d posts:
BlitzMax - like nearly every "modern" (lol) 2D engine - is using hardware acceleration from the GPU. So actually everything is rendered using the 3D rendering capabilities of the GPU. 2D sprites consist of 2 tris and are actually a 3D mesh. This is also why it's easily possible to freely rotate, scale and alpha blend stuff.

Regarding the shaders:
It DOES NOT simply work like
∗ shader magic ∗ BOOM ∗ awesome graphics ∗
Also
• BlitzMax doesn't have direct and simple shader support
• @user cracker: What exactly are you thinking about? What kind of shaders? (it doesn't really matter but I would like to know)
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
11.06.16 03:28:54 am
Up
P_206
BANNED
Offline Off
@user DC: Maybe @user cracker: Want to add a shader modification to the map editor or something better.
http://usgninterne.comli.com/site/index.html unreal software funny screens | I offer this to ahmad : https://www.youtube.com/watch?v=x35zohgjxeo
11.06.16 09:57:05 am
Up
PeculiarLookingLink
User
Offline Off
Cs2d is a 2D game ,i dont think shader mod possible...

Wait,what? a shader in 2d game?!
It will decrease amount of peformance.Since CS2D was reccomended on slower pc,It will be reccommended on faster pc.Still not possible...

I think

Edit:Ignore about my english....

I dont think your own pc doesnt like CS2D graphics.
edited 1×, last 11.06.16 12:34:08 pm
I'm just a fictional character.
11.06.16 11:37:19 am
Up
Pagyra
User
Offline Off
Anyway but CS2D with ENB series injector version works and especially with enbinjector.ini someting like this:
Code:
1
2
3
4
5
[LIBRARY]
LibraryName=sys\enbseries.dll

[TARGETPROCESS]
ProcessName0=CounterStrike2D.exe

But it work not completely correct - there are many features that dont works ... or may be i dont know how it can be enabled for CS2D, but anyway in this case - it's just fact that these "shaders" work with CS2D, but it have not correctly settings and I have not checked what features are working or enabled in standart settings and which are not.
As you can see in these screenshots - there is overall illumination of frame and it depends on brightness level of all pixels on screen - but it is standard settings and pallette, which not adapted for CS2D and certainly it need to fine tuning for all options.
So if anyone is interested - I think he will be able to make correct settings and pallette than it is in moment, and in combination with light and shadow engine it will be very nice and cool feature for CS2D especially for moviemaking.

• And more than this - there are a lot of analogues of ENBseries like: ReShade / SweetFX / GEMFX / GeDoSaTo / MasterEffect / Inject FXAA / Inject SMAA / nVidia FXAA Tool/... and so on and etc.
+ Also there are some separate programs - for example:
RadeonPro Integration
So relatively to have a better graphics with using these "shaders" - it would be nice to see variants to combine some of it in one pack - for this you can add it main dlls to ENB Series ini
to have ability to connect multiple dlls in enbseries.ini:
Code:
1
2
3
4
[PROXY]
EnableProxyLibrary = true
InitProxyFunctions = true
ProxyLibrary = d3d9.dll

same it is can be work via injector version with enbinjector.ini and there it can be used to transfer dlls in separate folder from CounterStrike2D.exe - someting like this:
Code:
1
2
3
4
5
[LIBRARY]
LibraryName=sys\enbseries.dll

[TARGETPROCESS]
ProcessName0=CounterStrike2D.exe


So it can work same like as it works in GTA 5, Skyrim, so on.
There are some video for example:
(ENB+SweetFX+ReShade)
https://www.youtube.com/watch?v=wd9liBq7m_M
(ENB+SweetFX+FXAA)
http://www.youtube.com/watch?v=ljR3K9G1NFI

• And question for user DC
- What you can say about these topics?
http://www.blitzbasic.com/Community/posts.php?topic=105697
http://www.blitzbasic.com/Community/posts.php?topic=85263
http://www.blitzbasic.com/Community/posts.php?topic=103476
http://www.blitzbasic.com/Community/posts.php?topic=43559
...
edited 14×, last 11.06.16 01:09:17 pm

Admin/mod comment:

More tag added for larger / multiple images. / user Fraizeraust
11.06.16 12:42:45 pm
Up
PeculiarLookingLink
User
Offline Off
I hope enb series help this thread clear.
I'm just a fictional character.
11.06.16 01:43:46 pm
Up
DC
Admin
Offline Off
@user Pagyra: These seem to be OpenGL shaders only or am I wrong? What about DirectX? CS2D performs bad for many users when running it with OpenGL. Therefore OpenGL-only solutions are not an option.
www.UnrealSoftware.de | www.CS2D.com | www.CarnageContest.com | Use the forum & avoid PMs!
12.06.16 07:40:14 pm
Up
Pagyra
User
Offline Off
user DC I'm not programmer, and more i don't know Blitzmax.

There are dozens of layered parallax 2D shaders or same fake 3d shaders (Same way as has been added to the game engine code of light and shadow).

• Depth of field (blur the background or foreground layers in real time)
• Bloom
• Full screen distortion effects
• Localised distortion effects (think sound waves around explosions)
• Various lighting and shadow effects

Which can be done in pure 2D as animated image layers or with possibility of movement of game camera.

I am hoping you can add a simple way to use same shaders on CS2D. Or you can add some injections of dlls libraries (like ENB and so on)
This can be done with using lua ... but it's very inconvenient way.


And what about add some sprite lamp for skins, tiles and other images?
Sample preview >
edited 1×, last 12.06.16 08:35:10 pm
13.06.16 05:27:02 pm
Up
PeculiarLookingLink
User
Offline Off
ENB series best at all ,but not all Graphic Cards and PCs support ENB .Still have another choice?
I'm just a fictional character.
13.06.16 07:08:35 pm
Up
Pagyra
User
Offline Off
@user PeculiarLookingLink: You have MDA (Monochrome Display Adapter) and it not support CS2D ?
13.06.16 10:47:17 pm
Up
_Yank
User
Offline Off
To anyone that says that shaders don't work or don't look good on 2D games, you're completely wrong. There's tons of 2D games (specially the modern ones) that use shaders! Want an example ? Rayman, Starbound, Don't Starve (though it is not fully 3D), Shank, Snayke, Roguelands, Magicite, etc (the last 2 ones make a pretty neat use of it, I wish I could show you them without shaders so you could see the absurd difference)

And actually, I think that CS2D uses shaders (or at least some sort of) for lighting in this new version. (thus the reason for older systems not supporting the new lighthing on openGL mode)

@user Pagyra:
• Depth of field would not fit on CS2D at all, it just doesn't makes sense for a 2D *not so detailed* game to use a shader like that, in my opinion.
• Bloom is a simple interesting shader effect but I (and most of CS2D players, I think, ugh) would not like these over satured and eye-cancerous colors on our screens.
• These distortion and shockwave effects (on explosions at least, not sure what you meant by fullscreen), I would quite like.. They are nice, look pretty neat and also, improve the climax a lot. I do remember that someone made a script that simulated that just can't remember its name..
• There's already some decent light and shadow effects (although I'm up for the idea of being able to query them through lua since we now use a fully (or almost) dynamic lighting engine)
• The parallax stuff, these are not implemented through shaders... from what I know.
• The sprite lamp thing, it would for sure look cool but every skin (or almost every skin) would need to be re-drawn without any shadow and stuff for it to look and work properly. Also it would take some performance so...

Anyways,
shaders would be quite complicated to add to CS2D because they would need to be written 2x (a directX version and an openGL one)..

Although I agree that they could be added, not as a graphic enchancement feature but as a customization one, where you could choose one (or two ugh) shaders to give more life to your game, just like Minecraft, Mari0 or PPSSPP. These games/apps feature shaders for fun and to bring the user some customization of the look of their game (shaders like CRT TV Effect, Scanlines, Bloom, HQ4X scaling, Inverted Colors, Sepia, Curvature, etc) and the user isn't forced to use them or all of them.

Or(/And ) you could add a shader sytem where the user could create, customize or add their own shaders (in GLSL or HLSL format (or whatever format the shader API blitz uses)), this would be the most simple way and would not require much work. So yeah, there's my idea.
edited 4×, last 13.06.16 11:09:31 pm
To the start Previous 1 2 Next To the start