Custom Shaders discussion
Moderator: Plugin Moderators
- Lobby
- Developer
- Reactions:
- Posts: 3705
- Joined: 26 Oct 2008, 12:34
- Plugins: Showcase Store
- Version: Beta
-
Platform
Custom Shaders discussion
For better overview I moved discussions about custom shaders to here. Here you can also suggest changes to the tutorial.
To go to the tutorial: The Custom Shaders documentation
To go to the tutorial: The Custom Shaders documentation
- Bevise
- Micy's Assistant
- Reactions:
- Posts: 502
- Joined: 27 Feb 2020, 15:39
- Location: Phu Quoc Island, Vietnam
- Plugins: Showcase Store
- Version: Beta
- Contact:
-
Plugin Creator
Platform
[1.10.50] Custom Shaders
I don't comprehend it at all. Maybe I should try out the plugin. ._.
- PixelDubs
- TheoTown Veteran in Pension
- Reactions:
- Posts: 554
- Joined: 02 Nov 2020, 20:14
- Location: Telford, England
- Plugins: Showcase Store
- Version: Beta
-
Plugin Creator
Platform
Re: Custom Shaders discussion
To be honest probably won't be using this, can't use GLSL, when I start developing BetterTT I will not be using shaders as the project would take forever as it is.
- Simon142
- Small-town resident
- Reactions:
- Posts: 35
- Joined: 05 Feb 2020, 14:13
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Custom Shaders discussion
Does the existence of type IDs shader imply there is a way to get pixel's type (part of GUI, text, or tile)? If so, how can I make something similar too? I'd like to make it so my shaders don't affect game UI.
Also, is/will there be the source code reveal of fancy/X fancy shaders?
Also, is/will there be the source code reveal of fancy/X fancy shaders?
- Bearbear76
- Former Bearbear65
- Reactions:
- Posts: 5730
- Joined: 10 Feb 2017, 14:53
- Location: L2 cache
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Custom Shaders discussion
True the game UI was bearly visible with your plugin if I remember correctly.Simon142 wrote: ↑02 Oct 2022, 18:46Does the existence of type IDs shader imply there is a way to get pixel's type (part of GUI, text, or tile)? If so, how can I make something similar too? I'd like to make it so my shaders don't affect game UI.
Also, is/will there be the source code reveal of fancy/X fancy shaders?
- IlikeBurgerHam
- Villager
- Reactions:
- Posts: 10
- Joined: 08 Jun 2020, 04:11
- Location: Philippines
- Plugins: Showcase Store
-
Platform
Re: Custom Shaders discussion
How do you recreate the LOL shader that's in-game? Like what's the code?
- Simon142
- Small-town resident
- Reactions:
- Posts: 35
- Joined: 05 Feb 2020, 14:13
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Custom Shaders discussion
I think most UI was visible, but only some light grey text in settings wasn'tBearbear76 wrote: ↑03 Oct 2022, 01:31True the game UI was bearly visible with your plugin if I remember correctly.Simon142 wrote: ↑02 Oct 2022, 18:46Does the existence of type IDs shader imply there is a way to get pixel's type (part of GUI, text, or tile)? If so, how can I make something similar too? I'd like to make it so my shaders don't affect game UI.
Also, is/will there be the source code reveal of fancy/X fancy shaders?
- Simon142
- Small-town resident
- Reactions:
- Posts: 35
- Joined: 05 Feb 2020, 14:13
- Plugins: Showcase Store
-
Plugin Creator
Platform
Re: Custom Shaders discussion
Fixed nowBearbear76 wrote: ↑03 Oct 2022, 01:31True the game UI was bearly visible with your plugin if I remember correctly.Simon142 wrote: ↑02 Oct 2022, 18:46Does the existence of type IDs shader imply there is a way to get pixel's type (part of GUI, text, or tile)? If so, how can I make something similar too? I'd like to make it so my shaders don't affect game UI.
Also, is/will there be the source code reveal of fancy/X fancy shaders?
- Hadestia
- Inhabitant of a Megalopolis
- Reactions:
- Posts: 727
- Joined: 17 Jul 2017, 16:16
- Location: Philippines
- Plugins: Showcase Store
- Contact:
-
Plugin Creator
Platform
Re: Custom Shaders discussion
What's the uniform type for night animations
- Hadestia
- Inhabitant of a Megalopolis
- Reactions:
- Posts: 727
- Joined: 17 Jul 2017, 16:16
- Location: Philippines
- Plugins: Showcase Store
- Contact:
-
Plugin Creator
Platform
Re: Custom Shaders discussion
Here I provided some alternative function from glsl that the game doesn't have
Feel free to correct me if you nnotice something wrong.
step()
simple fract()
mix()
overlay()
using screen resolution
- GreenKeldeo
- Settler
- Reactions:
- Posts: 1
- Joined: 16 May 2016, 23:44
- Plugins: Showcase Store
Re: Custom Shaders discussion
It's been a *very* long time since I last did anything with TheoTown, but I'm pleased to see at least some graphical scripting support available. Does the game process a depth buffer when rendering? If so, I might try my hand at scripting a PBR handler when I eventually have some spare time.