≡
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][/b] wrote: [quote][b][/b] wrote: @carlosm I think you didn't get it , i don't want to change the the color of whole texture, i know i can do that using the ccbscenenodematerialproperty..... i want to change specific color in a texture changed to a different color..... for example a texture has a soldier with blue dress, now i want to change the blue color of his dress without affecting the body and other color parameters....this can be done using pallete swapping by changing the blue color of the texture to something else. only the blue color will be changed..... According to me this can be done via shaders.... but as i have mentioned scripting shader is not my cup of tea..... i don't know about @robo's code if he had the code which can do pallete swapping then it will be really helpfull if he share it with the community.[/quote] @just_in_case. I found this on the web. https://gamedevelopment.tutsplus.com/tutorials/how-to-use-a-shader-to-dynamically-swap-a-sprites-colors--cms-25129 I hope it helps !!![/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