≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
Pallete swapping (hlsl shift)
Posted by:
(you are not logged in)
Enter the missing letter in: "Internati?nal"
(you are not logged in)
Text:
[quote][b]just_in_case[/b] wrote: a new node specific shader or material which can be used to swap palletes during runtime. right now am trying to create a clone of rts game age of empires and as its a team based game and contains lots of textures and sprites for one single team. so here comes the need of this shader or material to create n number of teams without loading different textures or images. just clone the node and change their shader with the new material or pallete. for example clone scenenode "unit_Villager" and then something like [b]ccbSwapPalleteColor("original_rgb value or color", "new_rgb value or color")[/b] will change for example blue ( original color) to Red (new color)... all we need is to specify the rgb value to change. this will be really helpfull for creating team based games. in which we don't have to load textures for other teams all we can do is used the previously loaded textures from the memory and tweak their color. I tried developing it by myself but shaders are not my cup of tea. so if anybody else can develop a shader to swap shift hlsl (color pallete) then it will be really great, might be usefull for other users too.[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact