Product Chat / My own pet shader

Author
Message
Brick
User Banned
Posted: 16th Dec 2021 01:32
I really want to make/import a custom shader because the shaders in gg classic doesnt match my project much. So how do i do that? Someone please respond.
cybernescence
GameGuru Master
11
Years of Service
User Offline
Joined: 28th Jan 2013
Playing: Cogwheel Chronicles
Posted: 16th Dec 2021 08:18
Making a custom shader or even converting an existing one is a very specialist skill.

If you want to try and have no experience of HLSL or shaders then start by trying to analyse the existing GG shaders and gently changing some of the values, recompiling and observe the results.

You will often encounter hard crashes and green screens unless/until you understand how they hang together.

Honestly not an easy or quick job, so only go down this path if you’re ready for a lot of coding and testing.

Cheers.
GPU: GeForce RTX 2070 SUPER PassMark: 18125
Brick
User Banned
Posted: 16th Dec 2021 11:52
Thanks,welp i love hard work over smart work. So time to get working.
Belidos
3D Media Maker
8
Years of Service
User Offline
Joined: 23rd Nov 2015
Playing: The Game
Posted: 16th Dec 2021 12:08
Good luck with that, i've seen people with advanced degrees in computer science quietly go sit in a corner and cry after trying to crmake their own HLSL shaders
Primary Desktop:
i7 7700,k NV1070 8GB, 16GB 3200mhz memory, 1x 2TB Hybrid, Win10.

Secondary Desktop:
i5 4760k, NV960 2GB, 16GB 2333mhz memory, 1x 2TB Hybrid, Win10.

Primary Laptop:
i5, NV1050 4GB, 8GB memory, 1x 1TB HDD, Win10.

Secondary Laptop:
i3, Intel 4000 series graphics, 6GB memory, 1x 500gb HDD, Win8.1.


Bored of the Rings
GameGuru Master
19
Years of Service
User Offline
Joined: 25th Feb 2005
Location: Middle Earth
Posted: 16th Dec 2021 14:08
it used be a lot easier in DX9 version of GG Classsic. Current GG Classic uses HLSL 5. I use ShaderToy purchased from steam a while back. But still have to convert to HLSL version 5. Tricky stuff, but managed to do water effects and other. There are some default shaders like fur etc. It's lot of hard work.



Professional Programmer: Languages- SAS (Statistical Analysis Software) , C++ VS2019, SQL, PL-SQL, JavaScript, HTML, Three.js, others
Hardware: ULTRA FAST Quad Core Gaming PC Tower WIFI & 16GB 1TB HDD & Win 10 (x64), Geforce GTX1060(3GB). Dell Mixed Reality VR headset, Aerodrums 3D
Brick
User Banned
Posted: 17th Dec 2021 01:18
Hahaha nice ill try that shader toy thing
mikeven
12
Years of Service
User Offline
Joined: 31st Dec 2011
Location:
Posted: 17th Dec 2021 08:55 Edited at: 17th Dec 2021 13:47
Hello,

( I am posting this comment with a touch of humour)

I cannot compete with the programming skills of Bored of the Rings (a highly skilled software engineer) but my ego is probably bigger than his.

Nice demo of ShaderToy. It seems to provide a user friendly solution to create shaders.

A few months ago I found a free toolsuite (unfortunately it is deprecated for the newest game engines ) with which I was able to learn the method for the creation of shaders in GLSL (OpenGL 2.0) and HLSL (DirectX 9.1) formats.
RenderMonkey is the name of that toolsuite and it is still available on the archives of "gpuopen.com" : https://gpuopen.com/archived/rendermonkey-toolsuite/

Here is a link to a short video clip ( 7 MBytes = 6 seconds) showing one of my experiments of a GLSL shader in a video game's project (OpenGL 2.0) : .

In the time when I liked programming with Dark Basic Pro I found that the tool provided by Lee Bamber to create ones own shaders was a good one to study how shaders are coded.
Anyway it is time consuming and I don't want to learn the coding of shaders anymore. Testing and fine tuning them is difficult.
I think that it is matter that is better reserved for the game engines developers ( https://www.thegamecreators.com/team ).

I see in this forum three main categories of members : the 3D artists, the programmers and the true video games developers.
GameGuru forum and its boards have a nice community.

PM
Brick
User Banned
Posted: 17th Dec 2021 11:21
oh nice

Login to post a reply

Server time is: 2024-04-26 02:34:21
Your offset time is: 2024-04-26 02:34:21