Sprite DLight Forum
Would you like to react to this message? Create an account in a few clicks or log in to continue.

[REQUEST] specular map, overall gain/offset control

2 posters

Go down

[REQUEST] specular map, overall gain/offset control Empty [REQUEST] specular map, overall gain/offset control

Post by bcmachine Mon Feb 29, 2016 3:32 pm

I need to be able to adjust the overall brightness of the specular maps, as of now I have to edit them in an outside program like photoshop.  The current sliders are good for defining the shape of the specularity, but I would request an additional control to adjust the overall lightness/darkness of the final images.

bcmachine

Posts : 2
Join date : 2016-02-29

Back to top Go down

[REQUEST] specular map, overall gain/offset control Empty Re: [REQUEST] specular map, overall gain/offset control

Post by Dee Tue Mar 22, 2016 3:04 pm

Thank you for the suggestion.
It shouldn't be hard to implement an additional slider for that. I only need to know what exactly you mean by the overall lightness. A gamma slider?
Dee
Dee
Admin

Posts : 32
Join date : 2015-07-31

http://2deegameart.com

Back to top Go down

[REQUEST] specular map, overall gain/offset control Empty Re: [REQUEST] specular map, overall gain/offset control

Post by bcmachine Wed Mar 23, 2016 11:58 am

Hi, thanks for the reply. I'm not sure how to explain technically how to achieve it, but a gamma slider might work.  I did this as a mock up of what I would be looking for using the levels adjustment in photoshop:
[REQUEST] specular map, overall gain/offset control Screen10
Thanks for your help!

bcmachine

Posts : 2
Join date : 2016-02-29

Back to top Go down

[REQUEST] specular map, overall gain/offset control Empty Re: [REQUEST] specular map, overall gain/offset control

Post by Dee Thu Mar 24, 2016 3:10 pm

I have implemented a new slider for the specularity brightness that will be included in build 0.5.
At the moment, it is very simple (simply adds/subtracts a fixed value to the overall brightness).
When referring to Photoshop's level adjustments. There are 5 values that can be adjusted: min, max and gamma of the input image, and min/max of the output image.
Now, with only one slider, there are two ways to implement the variable brightness, and I need to know which one would be better:

  • simple add/subtract to the overall brightness with clipping at black and white values
  • gamma adjustment (changing the curve and moving the values within the whole range without clipping)
Dee
Dee
Admin

Posts : 32
Join date : 2015-07-31

http://2deegameart.com

Back to top Go down

[REQUEST] specular map, overall gain/offset control Empty Re: [REQUEST] specular map, overall gain/offset control

Post by Sponsored content


Sponsored content


Back to top Go down

Back to top

- Similar topics

 
Permissions in this forum:
You cannot reply to topics in this forum